board_zgbl.h File Reference


Detailed Description

ATZGB ZGB-LINK-{230,231,212} modules.

The wiring between radio transceiver and ATmega is shown below:

          AVR       AT86RF2xx
          ---       ---------
          PB4  -->  SLPTR
    XTAL1/PD6  <--  CLKM 
          PD4  <--  IRQ (ICP1)
          PB5  -->  RSTN
          PB0  -->  /SEL
          PB1  -->  SCK
          PB2  -->  MOSI
          PB3  <--  MISO
          PE7  <--  DIG2 (INT7)

    For the zgb-link modules
    KEY: None
    LEDS: None

    The EVM-HOST has memory mapped Keys.

Fuses/Locks:
     LF: 0xe2 - 8MHz internal RC Osc.
     HF: 0x11 - without boot loader
     HF: 0x10 - with boot loader
     EF: 0xff
     LOCK: 0xef - protection of boot section

Bootloader:
    Start at byte=0x1e000, address=0xf000, size = 4096 instructions/ 8192 bytes

Build Options

Definition in file board_zgbl.h.

Go to the source code of this file.

Defines

#define BOARD_NAME   BOARD_NAME_ZGBL
#define HIF_TYPE   (HIF_UART_1)
#define HWTIMER_REG   (TCNT1)
#define HWTIMER_TICK   ((1.0*HWTMR_PRESCALE)/F_CPU)
#define HWTIMER_TICK_NB   (0xFFFFUL)
#define HWTMR_PRESCALE   (1)
#define MAX_FRAME_SIZE   (127)
#define NO_KEYS   (1)
#define NO_LEDS   (1)
#define SLEEP_ON_KEY()   do{}while(0)
#define SLEEP_ON_KEY_INIT()   do{}while(0)
#define TIMER_INIT()
#define TIMER_IRQ_vect   TIMER1_OVF_vect
#define TIMER_POOL_SIZE   (4)
#define TIMER_TICK   (HWTIMER_TICK_NB * HWTIMER_TICK)
#define TUNED_OSCCAL   (0xbf)

Functions

static void xmem_init (void)


Define Documentation

#define NO_LEDS   (1)

if defined, no LEDs are connected

Definition at line 152 of file board_zgbl.h.

 
#define TIMER_INIT (  ) 

Value:

do{ \
        TCCR1B |= (_BV(CS10)); \
        TIMSK1 |= _BV(TOIE1); \
    }while(0)

Definition at line 237 of file board_zgbl.h.


This documentation for µracoli was generated on 21 Jan 2010 by  doxygen 1.5.5