2010-09-22 15:10:42 +02:00
|
|
|
#ifndef __BOARD_H
|
2013-07-29 16:41:43 +02:00
|
|
|
#define __BOARD_H
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2010-12-06 16:06:14 +01:00
|
|
|
#include <msba2_common.h>
|
2011-03-04 16:46:20 +01:00
|
|
|
#include <bitarithm.h>
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
#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)
|
|
|
|
|
2010-12-06 16:06:14 +01:00
|
|
|
#endif /* __BOARD_H */
|