void kl_ledinit(void) { led_dumpgpio("Before configuration"); //kl_configgpio(GPIO_LED_R); //kl_configgpio(GPIO_LED_G); //kl_configgpio(GPIO_LED_B); led_dumpgpio("After configuration"); }
void up_ledinit(void) { /* Configure all LED GPIO lines */ led_dumpgpio("up_ledinit() Entry)"); hcs12_configgpio(NE64BADGE_LED1); hcs12_configgpio(NE64BADGE_LED2); led_dumpgpio("up_ledinit() Exit"); }
void board_led_initialize(void) { /* Configure all LED GPIO lines */ led_dumpgpio("board_led_initialize() Entry)"); hcs12_configgpio(NE64BADGE_LED1); hcs12_configgpio(NE64BADGE_LED2); led_dumpgpio("board_led_initialize() Exit"); }
void board_autoled_initialize(void) { leddbg("Initializing\n"); /* Configure Port D, Bit 0 as an output, initial value=OFF */ led_dumpgpio("board_autoled_initialize before tiva_configgpio()"); tiva_configgpio(LED_GPIO); led_dumpgpio("board_autoled_initialize after tiva_configgpio()"); g_nest = 0; }
void board_led_initialize(void) { /* Configure all LED GPIO lines */ led_dumpgpio("board_led_initialize() Entry)"); lpc17_configgpio(LINCOLN60_LED1); lpc17_configgpio(LINCOLN60_LED2); led_dumpgpio("board_led_initialize() Exit"); }
void board_led_initialize(void) { leddbg("Initializing\n"); /* Configure Port E, Bit 1 as an output, initial value=OFF */ led_dumpgpio("board_led_initialize before lm_configgpio()"); lm_configgpio(LED_GPIO); led_dumpgpio("board_led_initialize after lm_configgpio()"); g_nest = 0; }
void up_ledinit(void) { leddbg("Initializing\n"); /* Configure Port E, Bit 1 as an output, initial value=OFF */ led_dumpgpio("up_ledinit before lm3s_configgpio()"); lm3s_configgpio(LED_GPIO); led_dumpgpio("up_ledinit after lm3s_configgpio()"); g_nest = 0; }
void tm4c_ledinit(void) { leddbg("Initializing\n"); /* Configure Port E, Bit 1 as an output, initial value=OFF */ led_dumpgpio("tm4c_ledinit before tiva_configgpio()"); tiva_configgpio(GPIO_LED_R); tiva_configgpio(GPIO_LED_G); tiva_configgpio(GPIO_LED_B); led_dumpgpio("tm4c_ledinit after tiva_configgpio()"); }
void up_ledinit(void) /* Name when invoked via up_boot.c */ #endif { /* Configure all LED GPIO lines */ led_dumpgpio("up_ledinit() Entry)"); lpc17_configgpio(LPC1766STK_LED1); lpc17_configgpio(LPC1766STK_LED2); led_dumpgpio("up_ledinit() Exit"); }
void up_ledinit(void) { /* Configure all LED GPIO lines */ led_dumpgpio("up_ledinit() Entry)"); lpc17_configgpio(MBED_LED1); lpc17_configgpio(MBED_LED2); lpc17_configgpio(MBED_LED3); lpc17_configgpio(MBED_LED4); led_dumpgpio("up_ledinit() Exit"); }
void board_led_initialize(void) { /* Configure all LED GPIO lines */ led_dumpgpio("board_led_initialize() Entry)"); lpc17_configgpio(NUCLEUS2G_LED1_A); lpc17_configgpio(NUCLEUS2G_LED1_B); lpc17_configgpio(NUCLEUS2G_LED2_A); lpc17_configgpio(NUCLEUS2G_LED2_B); lpc17_configgpio(NUCLEUS2G_HEARTBEAT); lpc17_configgpio(NUCLEUS2G_EXTRA_LED); led_dumpgpio("board_led_initialize() Exit"); }
void board_autoled_on(int led) { switch (led) { case LED_STARTED: case LED_HEAPALLOCATE: default: break; case LED_INIRQ: case LED_SIGNAL: case LED_ASSERTION: case LED_PANIC: g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: led_dumpgpio("board_autoled_on: before tiva_gpiowrite()"); tiva_gpiowrite(LED_GPIO, false); led_dumpgpio("board_autoled_on: after tiva_gpiowrite()"); break; } }
void up_ledon(int led) { switch (led) { case LED_STARTED: case LED_HEAPALLOCATE: default: break; case LED_INIRQ: case LED_SIGNAL: case LED_ASSERTION: case LED_PANIC: g_nest++; case LED_IRQSENABLED: case LED_STACKCREATED: led_dumpgpio("up_ledon: before lm3s_gpiowrite()"); lm3s_gpiowrite(LED1_GPIO, false); led_dumpgpio("up_ledon: after lm3s_gpiowrite()"); break; } }
void board_autoled_off(int led) { switch (led) { case LED_IRQSENABLED: case LED_STACKCREATED: case LED_STARTED: case LED_HEAPALLOCATE: default: break; case LED_INIRQ: case LED_SIGNAL: case LED_ASSERTION: case LED_PANIC: if (--g_nest <= 0) { led_dumpgpio("board_autoled_off: before tiva_gpiowrite()"); tiva_gpiowrite(LED_GPIO, true); led_dumpgpio("board_autoled_off: after tiva_gpiowrite()"); } break; } }
void up_ledoff(int led) { switch (led) { case LED_IRQSENABLED: case LED_STACKCREATED: case LED_STARTED: case LED_HEAPALLOCATE: default: break; case LED_INIRQ: case LED_SIGNAL: case LED_ASSERTION: case LED_PANIC: if (--g_nest <= 0) { led_dumpgpio("up_ledoff: before lm3s_gpiowrite()"); lm3s_gpiowrite(LED1_GPIO, true); led_dumpgpio("up_ledoff: after lm3s_gpiowrite()"); } break; } }
void nuc_led_initialize(void) { led_dumpgpio("Before configuration"); nuc_configgpio(GPIO_LED); led_dumpgpio("After configuration"); }