ATMEGA256RFR2 LED support package.
This file contains definitions and services related to the LED features of the ATMEGA256RFR2 AVR477 board.
To use this board, define BOARD=DUMMY_BOARD.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "gpio.h"
Macros | |
#define | LED_Off(led_gpio) /* ioport_set_value(led_gpio, 1) */ |
Turns off the specified LEDs. More... | |
#define | LED_On(led_gpio) /* ioport_set_value(led_gpio, 0) */ |
Turns on the specified LEDs. More... | |
#define | LED_Toggle(led_gpio) /* ioport_toggle_pin(led_gpio) */ |
Toggles the specified LEDs. More... | |
#define LED_Off | ( | led_gpio | ) | /* ioport_set_value(led_gpio, 1) */ |
Turns off the specified LEDs.
led_gpio | LED to turn off (LEDx_GPIO). |
Referenced by app_led_event(), app_nlme_rx_enable_confirm(), app_task(), appCmdIdentifyDurationTimerHandler(), bsp_morse_putchar(), ext_int0_callback(), ext_int1_callback(), ext_int_callback(), indicate_fault_behavior(), led_handling(), main(), marker_rsp_timer_handler_cb(), marker_tx_timer_handler_cb(), morse_poll(), nlde_data_confirm(), rx_data_led_off_cb(), usr_mcps_data_conf(), vendor_app_alive_req(), zid_connect_confirm(), zid_data_confirm(), zid_report_data_confirm(), zid_set_attribute_confirm(), and zrc_cmd_confirm().
#define LED_On | ( | led_gpio | ) | /* ioport_set_value(led_gpio, 0) */ |
Turns on the specified LEDs.
led_gpio | LED to turn on (LEDx_GPIO). |
Referenced by app_led_event(), app_nlme_rx_enable_confirm(), app_task(), appCmdHandle(), appInit(), appSendData(), bsp_morse_putchar(), ext_int0_callback(), ext_int1_callback(), ext_int_callback(), handle_input(), indicate_fault_behavior(), main(), marker_rsp_timer_handler_cb(), marker_tx_timer_handler_cb(), morse_poll(), twi_Receive_Success(), twi_Transmission_Failure(), twi_Transmit_Success(), usr_mcps_data_ind(), vendor_app_alive_req(), and zid_connect_confirm().
#define LED_Toggle | ( | led_gpio | ) | /* ioport_toggle_pin(led_gpio) */ |
Toggles the specified LEDs.
led_gpio | LED to toggle (LEDx_GPIO). |
Referenced by app_alert(), appCmdIdentifyPeriodTimerHandler(), appDataInd(), appSendData(), led_handling(), main(), and network_search_indication_cb().