Loading...
Searching...
No Matches
board_common.h File Reference

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

Detailed Description

Common definitions for all msb-430 based boards.

Author
unknown
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file board_common.h.

#include "cpu.h"
+ Include dependency graph for board_common.h:

Go to the source code of this file.

Xtimer configuration

#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)