44 #include "contiki-conf.h"
52 #ifdef PLATFORM_HAS_LEDS
53 LEDS_PxDIR |= (LEDS_CONF_GREEN | LEDS_CONF_YELLOW);
54 LEDS_PxOUT |= (LEDS_CONF_GREEN | LEDS_CONF_YELLOW);
61 #ifdef PLATFORM_HAS_LEDS
62 return ((LEDS_PxOUT & LEDS_CONF_GREEN) ? 0 : LEDS_GREEN)
63 | ((LEDS_PxOUT & LEDS_CONF_YELLOW) ? 0 : LEDS_YELLOW);
70 leds_arch_set(
unsigned char leds)
72 #ifdef PLATFORM_HAS_LEDS
73 LEDS_PxOUT = (LEDS_PxOUT & ~(LEDS_CONF_GREEN|LEDS_CONF_YELLOW))
74 | ((leds & LEDS_GREEN) ? 0 : LEDS_CONF_GREEN)
75 | ((leds & LEDS_YELLOW) ? 0 : LEDS_CONF_YELLOW);