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 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.
LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) | |
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.
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.
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.
LEDMask | Mask of the board LEDs to manipulate (see board-specific LEDs.h driver file) |