SAM4L-EK Board LEDs support package.
This file contains definitions and services related to the LED features of the SAM4L-EK Board.
To use this board, define BOARD=SAM4L_EK.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | LED_Off(led) ioport_set_pin_level(led##_GPIO, led##_INACTIVE_LEVEL) |
Turns off the specified LEDs. More... | |
#define | LED_On(led) ioport_set_pin_level(led##_GPIO, led##_ACTIVE_LEVEL) |
Turns on the specified LEDs. More... | |
#define | LED_Toggle(led) ioport_toggle_pin_level(led##_GPIO) |
Toggles the specified LEDs. More... | |
#define LED_Off | ( | led | ) | ioport_set_pin_level(led##_GPIO, led##_INACTIVE_LEVEL) |
Turns off the specified LEDs.
led | LED to turn off (LEDx_GPIO). |
Referenced by ui_init(), ui_stop_read(), ui_stop_write(), ui_usb_mode_change(), and ui_usb_sof_event().
#define LED_On | ( | led | ) | ioport_set_pin_level(led##_GPIO, led##_ACTIVE_LEVEL) |
Turns on the specified LEDs.
led | LED to turn on (LEDx_GPIO). |
Referenced by ui_start_read(), ui_start_write(), ui_usb_connection_event(), and ui_usb_mode_change().
#define LED_Toggle | ( | led | ) | ioport_toggle_pin_level(led##_GPIO) |
Toggles the specified LEDs.
led | LED to toggle (LEDx_GPIO). |
Referenced by ui_usb_sof_event().