void lpc43_ledinit(void) { /* Configure all LED GPIO lines */ led_dumppins("lpc43_ledinit() Entry)"); /* Configure LED pins as GPIOs, then configure GPIOs as outputs */ lpc43_pin_config(PINCONFIG_LED1); lpc43_gpio_config(GPIO_LED1); lpc43_pin_config(PINCONFIG_LED2); lpc43_gpio_config(GPIO_LED2); led_dumppins("lpc43_ledinit() Exit"); }
void board_led_initialize(void) { /* Configure all LED pins as GPIO outputs */ led_dumppins("board_led_initialize() Entry)"); /* Configure LED pins as GPIOs, then configure GPIOs as outputs */ lpc43_pin_config(PINCONFIG_LED1); lpc43_gpio_config(GPIO_LED1); lpc43_pin_config(PINCONFIG_LED2); lpc43_gpio_config(GPIO_LED2); led_dumppins("board_led_initialize() Exit"); }
void board_autoled_initialize(void) { /* Configure LED pin as a GPIO outputs */ led_dumppins("board_autoled_initialize() Entry)"); /* Configure LED pin as a GPIO, then configure GPIO as an outputs */ lpc43_pin_config(PINCONFIG_LED); lpc43_gpio_config(GPIO_LED); led_dumppins("board_autoled_initialize() Exit"); }