Defines
board_dummy.h File Reference
Board Definitions

Dummy board definition for (board type) with (CPU type). More...

Go to the source code of this file.

## Defines
#define | BOARD_NAME BOARD_NAME_<brd>
#define | BOARD_NAME_ <brd> "<brd>"
#define | BOARD_TYPE (<brd>)
#define | DDR_KEY DDR.
#define | DDR_SPI (DDR...)
#define | DDR_TRX_RESET DDR...
#define | DDR_TRX_SLPTR DDR...
#define | DEFAULT_SPI_RATE (SPI_RATE_1_2)
#define | DI_TRX_IRQ() {GICR... &= (~(TRX_IRQ));}
#define | EI_TRX_IRQ() {GICR... |= (TRX_IRQ);}
#define | HIF_TYPE HIF_.
#define | HWTIMER_REG (TCNT1)
#define | HWTIMER_TICK ((1.0*HWTMR_PRESCALE)/F_CPU)
#define | HWTIMER_TICK_NB (0xFFFFUL)
#define | HWTMR_PRESCALE (1)
#define | INVERSE_KEYS (.)
#define | LED_DDR DDR.
#define | LED_MASK (0x..)
#define | LED_NUMBER (.)
#define | LED_PORT PORT.
#define | LED_SHIFT (.)
#define | LEDS_INVERSE (.)
#define | MASK_KEY (0x..)
#define | MASK_TRX_RESET (_BV(...))
#define | MASK_TRX_SLPTR (_BV(PB...))
#define | MAX_FRAME_SIZE (127)
#define | NO_KEYS (1)
#define | NO_LEDS (1)
#define | NO_TIMER (1)
#define | PIN_KEY PIN.
#define | PORT_KEY PORT.
#define | PORT_SPI (PORT...)
#define | PORT_TRX_RESET PORT...
#define | PORT_TRX_SLPTR PORT...
#define | PULLUP_KEYS (.)
#define | RADIO_TYPE (RADIO_AT86RF230)
#define | SHIFT_KEY (.)
#define | SPI_DATA_REG SPDR...
#define | SPI_MISO _BV(P...)
#define | SPI_MOSI _BV(P...)
#define | SPI_SCK _BV(P...)
#define | SPI_SELN_HIGH() PORT_SPI |= SPI_SS; SREG = sreg
#define | SPI_SELN_LOW() uint8_t sreg = SREG; cli(); PORT_SPI &=~SPI_SS
#define | SPI_SS _BV(P...)
#define | SPI_TYPE SPI_TYPE_SPI
#define | SPI_WAITFOR() do { while((SPSR & _BV(SPIF)) == 0);} while(0)
#define | TIMER_INIT() do{}while(0)
#define | TIMER_IRQ_vect ...
#define | TIMER_POOL_SIZE (0)
#define | TIMER_TICK (HWTIMER_TICK * HWTIMER_TICK_NB)
#define | TRX_IRQ _BV(INT...)
#define | TRX_IRQ_INIT()
#define | TRX_IRQ_vect INT..._vect
#define | TRX_TSTAMP_REG ...
#define | TUNED_OSCCAL (0xbf) /* default is 0xb1, but @2.9V 0xbf is better */

## Detailed Description

Dummy board definition for (board type) with (CPU type).

Take this file as a template for a new board implementation.