The friendly Operating System for the Internet of Things
TelosB

Support for the TelosB board. More...

Detailed Description

Compontents

Files

file  telosb/include/board.h
 Basic definitions for the TelosB board.
 
file  boards/telosb/include/periph_conf.h
 TelosB peripheral configuration.
 

Macros

#define __MSP430F1611__
 Define the CPU model for the <msp430.h>
 
#define CC2420_PARAMS_BOARD
 Definition of the interface to the CC2420 radio. More...
 
#define UART_STDIO_BAUDRATE   (9600)
 Override default baudrate for STDIO.
 
#define XTIMER_DEV   (0)
 Xtimer configuration.
 
#define XTIMER_CHAN   (0)
 
#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (40)
 
#define MSP430_INITIAL_CPU_SPEED   2457600uL
 CPU core configuration. More...
 
#define F_CPU   MSP430_INITIAL_CPU_SPEED
 
#define F_RC_OSCILLATOR   32768
 
#define MSP430_HAS_DCOR   0
 
#define MSP430_HAS_EXTERNAL_CRYSTAL   1
 
#define LED0_PIN   GPIO_PIN(4, 0)
 LED pin definitions and handlers.
 
#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)
 

Macro Definition Documentation

#define CC2420_PARAMS_BOARD
Value:
{.spi = SPI_DEV(0), \
.spi_clk = SPI_CLK_1MHZ , \
.pin_cs = GPIO_PIN(P4, 2), \
.pin_fifo = GPIO_PIN(P1, 3), \
.pin_fifop = GPIO_PIN(P1, 0), \
.pin_cca = GPIO_PIN(P1, 4), \
.pin_sfd = GPIO_PIN(P4, 1), \
.pin_vrefen = GPIO_PIN(P4, 5), \
.pin_reset = GPIO_PIN(P4, 6)}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define SPI_DEV(x)
Default SPI device access macro.
Definition: spi.h:73

Definition at line 105 of file telosb/include/board.h.

#define MSP430_INITIAL_CPU_SPEED   2457600uL
Todo:
Move this to the periph_conf.h

Definition at line 69 of file telosb/include/board.h.