Modules | |
ATAVRUSBRF01 | |
RZUSBSTICK | |
STK525 | |
STK526 | |
USBKEY | |
Defines | |
#define | LEDS_LED1 0 |
#define | LEDS_LED2 0 |
#define | LEDS_LED3 0 |
#define | LEDS_LED4 0 |
Functions | |
static void | LEDs_Init (void) |
static void | LEDs_TurnOnLEDs (const uint8_t LEDMask) |
static void | LEDs_TurnOffLEDs (const uint8_t LEDMask) |
static void | LEDs_SetAllLEDs (const uint8_t LEDMask) |
static void | LEDs_ChangeLEDs (const uint8_t LEDMask, const uint8_t ActiveMask) |
static void | LEDs_ToggleLEDs (const uint8_t LEDMask) |
static uint8_t | LEDs_GetLEDs (void) ATTR_WARN_UNUSED_RESULT |
If the BOARD value is set to BOARD_USER, this will include the /Board/Dataflash.h file in the user project directory. Otherwise, it will include the appropriate built in board driver header file.
#define LEDS_LED1 0 |
#define LEDS_LED2 0 |
#define LEDS_LED3 0 |
#define LEDS_LED4 0 |
static void LEDs_ChangeLEDs | ( | const uint8_t | LEDMask, | |
const uint8_t | ActiveMask | |||
) | [inline, static] |
Turns off all LEDs in the LED mask that are not set in the active mask, and turns on all the LEDs specified in both the LED and active masks.
[in] | LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) |
[in] | ActiveMask | Mask of whether the LEDs in the LED mask should be turned on or off |
static uint8_t LEDs_GetLEDs | ( | void | ) | [inline, static] |
Returns the status of all the board LEDs; set LED masks in the return value indicate that the corresponding LED is on.
static void LEDs_Init | ( | void | ) | [inline, static] |
Initializes the board LED driver so that the LEDs can be controlled. This sets the appropriate port I/O pins as outputs, and sets the LEDs to default to off.
static void LEDs_SetAllLEDs | ( | const uint8_t | LEDMask | ) | [inline, static] |
Turns off all LEDs not specified in the given LED mask, and turns on all the LEDs in the given LED mask.
[in] | LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) |
static void LEDs_ToggleLEDs | ( | const uint8_t | LEDMask | ) | [inline, static] |
Toggles all LEDs in the LED mask, leaving all others in their current states.
[in] | LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) |
static void LEDs_TurnOffLEDs | ( | const uint8_t | LEDMask | ) | [inline, static] |
Turns off the LEDs specified in the given LED mask.
[in] | LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) |
static void LEDs_TurnOnLEDs | ( | const uint8_t | LEDMask | ) | [inline, static] |
Turns on the LEDs specified in the given LED mask.
[in] | LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) |