msb-430-common/include/board_common.h File Reference

Common definitions for all msb-430 based boards. More...

Detailed Description

#include "cpu.h"
+ Include dependency graph for msb-430-common/include/board_common.h:

Go to the source code of this file.

Macros

#define INFOMEM   (0x1000)
 Address of the info memory.
 
Xtimer configuration
#define XTIMER_DEV   (0)
 
#define XTIMER_CHAN   (0)
 
#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (40)
 
LED pin definitions and handlers
#define LED0_PIN   GPIO_PIN(4, 7)
 
#define LED_OUT_REG   (P5OUT)
 
#define LED0_MASK   (1 << 7)
 
#define LED0_ON   (LED_OUT_REG &= ~LED0_MASK)
 
#define LED0_OFF   (LED_OUT_REG |= LED0_MASK)
 
#define LED0_TOGGLE   (LED_OUT_REG ^= LED0_MASK)