Defines
board_zgbl.h File Reference
Board Definitions | Board Definitions

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

Go to the source code of this file.

## Defines
#define | BOARD_ZGBL_H
#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 | 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)

## 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

- zgbl230 : ZGB-LINK-Modul with AT86RF230
- zgbl231 : ZGB-LINK-Modul with AT86RF231
- zgbl212 : ZGB-LINK-Modul with AT86RF212

- zgbh230 : EVM-HOST Plattform with AT86RF230
- zgbh231 : EVM-HOST Plattform with AT86RF231
- zgbh212 : EVM-HOST Plattform with AT86RF212

## Define Documentation

#define NO_LEDS (1)

if defined, no LEDs are connected

#define TIMER_INIT | ( |  | ) |

Value:

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