Defines

board_museIIrfa.h File Reference

MuseII RFA. More...

Go to the source code of this file.

Defines

#define BOARD_NAME   "museIIrfa"
#define BOARD_TYPE   BOARD_MUSEIIRFA
#define HIF_TYPE   HIF_NONE
#define HWTIMER_REG   (TCNT1)
#define HWTIMER_TICK   ((1.0*HWTMR_PRESCALE)/F_CPU)
#define HWTIMER_TICK_NB   (0xFFFFUL)
#define HWTMR_PRESCALE   (1)
#define LED_ANODE_bp   (3)
#define LED_CATHODE_bp   (4)
#define LED_DDR   DDRE
#define LED_MASK   (0x18)
#define LED_NUMBER   (2)
#define LED_PIN   PINE
#define LED_PORT   PORTE
#define LED_SHIFT   (3)
#define LEDS_INVERSE   (0)
#define NO_KEYS   (1)
#define RADIO_TYPE   (RADIO_ATMEGA128RFA1_D)
#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_RESET_HIGH()   do { TRXPR |= (1<<TRXRST); } while (0)
#define TRX_RESET_LOW()   do { TRXPR &= ~(1<<TRXRST); } while (0)
#define TRX_SLPTR_HIGH()   do { TRXPR |= (1<<SLPTR); } while (0)
#define TRX_SLPTR_LOW()   do { TRXPR &= ~(1<<SLPTR); } while (0)
#define TRX_TSTAMP_REG   TCNT1

Detailed Description

MuseII RFA.

Build Options

Define Documentation

#define LED_ANODE_bp   (3)

LED anode bit position

#define LED_CATHODE_bp   (4)

LED cathode bit position

#define LED_DDR   DDRE

DDR register for LEDs

#define LED_MASK   (0x18)

MASK value for LEDs (msb aligned)

#define LED_NUMBER   (2)

number of LEDs for this board

#define LED_PIN   PINE

PIN register for LEDs

#define LED_PORT   PORTE

PORT register for LEDs

#define LED_SHIFT   (3)

SHIFT value for LEDs

#define LEDS_INVERSE   (0)

= 1, if low level at port means LED on

#define NO_KEYS   (1)

if defined, no KEYS are connected

#define TIMER_INIT (  ) 
Value:
do{ \
        TCCR1B |= ((1<<CS10)); \
        TIMSK1 |= (1<<TOIE1); \
    }while(0)
#define TRX_TSTAMP_REG   TCNT1

timestamp register for RX_START event


This documentation for µracoli was generated on Tue Apr 9 2013 by  doxygen 1.7.1