40 #ifndef BSP430_UTILITY_LED_H
41 #define BSP430_UTILITY_LED_H
51 #ifndef configBSP430_LED
52 #define configBSP430_LED 1
64 #if defined(BSP430_DOXYGEN) || defined(configBSP430_LED)
66 #if (configBSP430_LED - 0)
80 #if defined(BSP430_DOXYGEN) || (configBSP430_LED - 0)
83 #define vBSP430ledInitialize_ni() do {} while (0)
99 #if defined(BSP430_DOXYGEN) || (configBSP430_LED - 0)
103 #define vBSP430ledSet(led_idx, value) do { (void)(led_idx); (void)(value); } while (0)
111 #if defined(BSP430_DOXYGEN) || (configBSP430_LED - 0)
114 #define vBSP430ledGet(led_idx) 0
137 #if defined(BSP430_DOXYGEN)
138 #define BSP430_LED_GREEN include <bsp430/platform.h>
145 #if defined(BSP430_DOXYGEN)
146 #define BSP430_LED_RED include <bsp430/platform.h>
161 #ifndef configBSP430_LED_USE_COMMON
162 #define configBSP430_LED_USE_COMMON 1
174 volatile unsigned char *
const outp;
184 #if (configBSP430_LED_USE_COMMON - 0)
unsigned char const flags
Definition: led.h:181
void vBSP430ledSet(int led_idx, int value)
void vBSP430ledInitialize_ni(void)
struct sBSP430halLED sBSP430halLED
int vBSP430ledGet(int led_idx)
const unsigned char nBSP430led
const sBSP430halLED xBSP430halLED_[]
unsigned char const bit
Definition: led.h:176
volatile unsigned char *const outp
Definition: led.h:174