telosb/include/board.h File Reference

Basic definitions for the TelosB board. More...

Detailed Description

Basic definitions for the TelosB board.

Author
Oliver Hahm olive.nosp@m.r.ha.nosp@m.hm@in.nosp@m.ria..nosp@m.fr
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file telosb/include/board.h.

#include "cpu.h"
+ Include dependency graph for telosb/include/board.h:

Go to the source code of this file.

Macros

#define __MSP430F1611__
 Define the CPU model for the <msp430.h>
 
#define CC2420_PARAMS_BOARD
 Definition of the interface to the CC2420 radio. More...
 
Override default baudrate for STDIO
#define UART_STDIO_BAUDRATE   (9600)
 
Xtimer configuration
#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (40)
 
CPU core configuration
#define MSP430_INITIAL_CPU_SPEED   2457600uL
 
#define F_CPU   MSP430_INITIAL_CPU_SPEED
 
#define F_RC_OSCILLATOR   32768
 
#define MSP430_HAS_DCOR   0
 
#define MSP430_HAS_EXTERNAL_CRYSTAL   1
 
LED pin definitions and handlers
#define LED0_PIN   GPIO_PIN(4, 0)
 
#define LED1_PIN   GPIO_PIN(4, 1)
 
#define LED2_PIN   GPIO_PIN(4, 2)
 
#define LED_OUT_REG   P5OUT
 
#define LED0_MASK   (0x10)
 
#define LED1_MASK   (0x20)
 
#define LED2_MASK   (0x40)
 
#define LED0_ON   (LED_OUT_REG &=~LED0_MASK)
 
#define LED0_OFF   (LED_OUT_REG |= LED0_MASK)
 
#define LED0_TOGGLE   (LED_OUT_REG ^= LED0_MASK)
 
#define LED1_ON   (LED_OUT_REG &=~LED1_MASK)
 
#define LED1_OFF   (LED_OUT_REG |= LED1_MASK)
 
#define LED1_TOGGLE   (LED_OUT_REG ^= LED1_MASK)
 
#define LED2_ON   (LED_OUT_REG &=~LED2_MASK)
 
#define LED2_OFF   (LED_OUT_REG |= LED2_MASK)
 
#define LED2_TOGGLE   (LED_OUT_REG ^= LED2_MASK)