mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
3622d83ea9
* fixed header guards [drivers ltc4150] * added joule conversion
19 lines
454 B
C
19 lines
454 B
C
#ifndef __BOARD_H
|
|
#define __BOARD_H
|
|
|
|
#include <msba2_common.h>
|
|
#include <bitarithm.h>
|
|
|
|
#define LED_RED_PIN (BIT25)
|
|
#define LED_GREEN_PIN (BIT26)
|
|
|
|
#define LED_GREEN_OFF (FIO3SET = LED_GREEN_PIN)
|
|
#define LED_GREEN_ON (FIO3CLR = LED_GREEN_PIN)
|
|
#define LED_GREEN_TOGGLE (FIO3PIN ^= LED_GREEN_PIN)
|
|
|
|
#define LED_RED_OFF (FIO3SET = LED_RED_PIN)
|
|
#define LED_RED_ON (FIO3CLR = LED_RED_PIN)
|
|
#define LED_RED_TOGGLE (FIO3PIN ^= LED_RED_PIN)
|
|
|
|
#endif /* __BOARD_H */
|