41 #ifndef BSPACM_DEVICE_NRF51_INTERNAL_UTILITY_LED_H
42 #define BSPACM_DEVICE_NRF51_INTERNAL_UTILITY_LED_H
49 #define BSPACM_INC_EXPAND_LED_REFERENCE(pin_)
50 #include <bspacm/internal/board/led.inc>
51 #undef BSPACM_INC_EXPAND_LED_REFERENCE
56 typedef struct sBSPACMled {
69 NRF_GPIO->OUT ^= lp->bits;
70 }
else if (0 == mode) {
71 NRF_GPIO->OUTSET = lp->bits;
73 NRF_GPIO->OUTCLR = lp->bits;
void xBSPACMled
Definition: led.h:82
Common header included by all BSPACM leaf headers.
#define BSPACM_CORE_INLINE_FORCED
Definition: core.h:78
static BSPACM_CORE_INLINE_FORCED void vBSPACMledSet_(int idx, int mode)
Definition: led.h:93
const xBSPACMled xBSPACMleds[]