Basic definitions for the TelosB board.
More...
#include "cpu.h"
Go to the source code of this file.
|
#define | STDIO_UART_BAUDRATE (9600) |
|
|
#define | XTIMER_WIDTH (16) |
|
#define | XTIMER_BACKOFF (40) |
|
|
#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) |
|
◆ MSP430_INITIAL_CPU_SPEED
#define MSP430_INITIAL_CPU_SPEED 2457600uL |
- Todo:
- Move this to the periph_conf.h
Definition at line 64 of file board.h.