41 #include "aducrf101-contiki.h"
44 #define GPIO CC_CONCAT(pADI_GP, LED_GPIO)
51 GPIO->GPOEN |= (1UL << LED_PIN);
58 if(GPIO->GPOUT & (1UL << LED_PIN)) {
66 leds_arch_set(
unsigned char leds)
69 GPIO->GPCLR = (1UL << LED_PIN);
71 GPIO->GPSET = (1UL << LED_PIN);
void leds_arch_init(void)
Leds implementation.