1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/msba2/include/board.h

23 lines
517 B
C
Raw Normal View History

#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)
2013-08-07 12:25:03 +02:00
void init_clks1(void);
2013-10-20 17:54:31 +02:00
typedef uint8_t radio_packet_length_t;
#endif /* __BOARD_H */