43void leds_arch_init() {
46 gpio_hal_arch_register_pin_callback(COOJA_LED_GREEN_PIN, led_change_cb);
47 gpio_hal_arch_register_pin_callback(COOJA_LED_RED_PIN, led_change_cb);
48 gpio_hal_arch_register_pin_callback(COOJA_LED_YELLOW_PIN, led_change_cb);
51const leds_t leds_arch_leds[] = {
53 .pin = COOJA_LED_GREEN_PIN,
54 .negative_logic =
false
57 .pin = COOJA_LED_RED_PIN,
58 .negative_logic =
false
61 .pin = COOJA_LED_YELLOW_PIN,
62 .negative_logic =
false
uint8_t leds_mask_t
An OR mask datatype to represents multiple LEDs.
leds_mask_t leds_get()
Get the status of LEDs.
Header file for the LED HAL.
A LED logical representation.