SAM4L Xplained Pro board LEDs support package.
This file contains definitions and services related to the LED features of the SAM4L Xplained Pro board.
To use this board, define BOARD=SAM4L_XPLAINED_PRO.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | LED_Off(led) ioport_set_pin_level(led, IOPORT_PIN_LEVEL_HIGH) |
Turns off the specified LEDs. More... | |
#define | LED_On(led) ioport_set_pin_level(led, IOPORT_PIN_LEVEL_LOW) |
Turns on the specified LEDs. More... | |
#define | LED_Toggle(led) ioport_toggle_pin_level(led) |
Toggles the specified LEDs. More... | |
#define LED_Off | ( | led | ) | ioport_set_pin_level(led, IOPORT_PIN_LEVEL_HIGH) |
Turns off the specified LEDs.
led | LED to turn off (LEDx). |
#define LED_On | ( | led | ) | ioport_set_pin_level(led, IOPORT_PIN_LEVEL_LOW) |
Turns on the specified LEDs.
led | LED to turn on (LEDx). |
#define LED_Toggle | ( | led | ) | ioport_toggle_pin_level(led) |
Toggles the specified LEDs.
led | LED to toggle (LEDx). |
Referenced by toggle_led_test().