44 static unsigned char c;
45 static int inited = 0;
55 ti_lib_rom_ioc_pin_type_gpio_output(BOARD_IOID_LED_1);
56 ti_lib_rom_ioc_pin_type_gpio_output(BOARD_IOID_LED_2);
58 ti_lib_gpio_pin_write(BOARD_LED_ALL, 0);
68 leds_arch_set(
unsigned char leds)
71 ti_lib_gpio_pin_write(BOARD_LED_ALL, 0);
73 if((leds & LEDS_RED) == LEDS_RED) {
74 ti_lib_gpio_pin_write(BOARD_LED_1, 1);
76 if((leds & LEDS_YELLOW) == LEDS_YELLOW) {
77 ti_lib_gpio_pin_write(BOARD_LED_2, 1);
Header file with macros which rename TI CC26xxware functions.
void leds_arch_init(void)
Leds implementation.