XMEGA-A3BU board LEDs support package.
This file contains definitions and services related to the LED features of the XMEGA-A3BU Xplained board.
To use this board, define BOARD=XMEGA_A3BU_XPLAINED.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "gpio.h"
Macros | |
#define | LED_Off(led_gpio) gpio_set_pin_low(led_gpio) |
Turns off the specified LEDs. More... | |
#define | LED_On(led_gpio) gpio_set_pin_high(led_gpio) |
Turns on the specified LEDs. More... | |
#define | LED_Toggle(led_gpio) gpio_toggle_pin(led_gpio) |
Toggles the specified LEDs. More... | |
#define LED_Off | ( | led_gpio | ) | gpio_set_pin_low(led_gpio) |
Turns off the specified LEDs.
led_gpio | LED to turn off (LEDx_GPIO). |
Referenced by app_led_event(), app_switch_off_rx_led_cb(), app_switch_off_tx_led_cb(), marker_rsp_timer_handler_cb(), and marker_tx_timer_handler_cb().
#define LED_On | ( | led_gpio | ) | gpio_set_pin_high(led_gpio) |
Turns on the specified LEDs.
led_gpio | LED to turn on (LEDx_GPIO). |
Referenced by app_led_event(), marker_rsp_timer_handler_cb(), and marker_tx_timer_handler_cb().
#define LED_Toggle | ( | led_gpio | ) | gpio_toggle_pin(led_gpio) |
Toggles the specified LEDs.
led_gpio | LED to toggle (LEDx_GPIO). |
Referenced by app_alert().