Defines
board_derfa.h File Reference
Board Definitions | Board Definitions | Board Definitions | Board Definitions | Board Definitions | Board Definitions | Board Definitions | Board Definitions

Dresden Elektronik Radio Module deRFmega128-22A001. More...

Go to the source code of this file.

## Defines
#define | HIF_TYPE HIF_UART_0
#define | HWTIMER_REG (TCNT1)
#define | HWTIMER_TICK ((1.0*HWTMR_PRESCALE)/F_CPU)
#define | HWTIMER_TICK_NB (0xFFFFUL)
#define | HWTMR_PRESCALE (1)
#define | LED_DDR DDRG
#define | LED_MASK (0x06)
#define | LED_NUMBER (2)
#define | LED_PORT PORTG
#define | LED_SHIFT (1)
#define | LEDS_INVERSE (0)
#define | NO_KEYS (1)
#define | TIMER_INIT()
#define | TIMER_IRQ_vect TIMER1_OVF_vect
#define | TIMER_POOL_SIZE (4)
#define | TIMER_TICK (HWTIMER_TICK_NB * HWTIMER_TICK)
#define | TRX_PA_LNA_INIT()
#define | TRX_RESET_HIGH() do { TRXPR |= _BV(TRXRST); } while (0)
#define | TRX_RESET_LOW() do { TRXPR &= ~_BV(TRXRST); } while (0)
#define | TRX_RX_LNA_DI() do {PORTD &= ~_BV(PD6);} while(0)
#define | TRX_RX_LNA_EI() do {PORTD |= _BV(PD6);} while(0)
#define | TRX_SLPTR_HIGH() do { TRXPR |= _BV(SLPTR); } while (0)
#define | TRX_SLPTR_LOW() do { TRXPR &= ~_BV(SLPTR); } while (0)
#define | TRX_TSTAMP_REG TCNT1
#define | TRX_TX_PA_DI() do {PORTD &= ~_BV(PD6);} while(0)
#define | TRX_TX_PA_EI() do {PORTD |= _BV(PD6);} while(0)

## Detailed Description

Dresden Elektronik Radio Module deRFmega128-22A001.

    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

    radiofaro:
      LEDS: PG1, PG2

Build Options

- derfa1 : Radio Module deRFmega128-22A001

- radiofaro : wireless Ardino board
- radiofaro_v1 : wireless Ardino board

- zigduino : Logos Electromechanical LLC http://www.logos-electro.com/blog/2010/5/16/zigduino.html
- pinoccio : http://pinocc.io/
- raspbee : Dresden Electronic Raspberry Pi Modul.

## Define Documentation

#define TIMER_INIT | ( |  | ) |

Value:

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

#define TRX_PA_LNA_INIT | ( |  | ) |

Value:

    do {\
                PORTD &= ~_BV(PD6);\
                DDRD |= _BV(PD6);\
            } while(0)

#define TRX_TSTAMP_REG TCNT1

timestamp register for RX_START event