| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
LEDs.h File Reference

LUFA Custom Board LED Hardware Driver (Template) More...

## Macros
#define | LEDS_ALL_LEDS (0xFF)
#define | LEDS_LED1 (1 << 0)
#define | LEDS_LED2 (1 << 1)
#define | LEDS_LED3 (1 << 2)
#define | LEDS_LED4 (1 << 3)
#define | LEDS_LED5 (1 << 4)
#define | LEDS_LED6 (1 << 5)
#define | LEDS_LED7 (1 << 6)
#define | LEDS_LED8 (1 << 7)
#define | LEDS_NO_LEDS 0

## Detailed Description

This is a stub driver header file, for implementing custom board layout hardware with compatible LUFA board specific drivers. If the library is configured to use the BOARD_USER board mode, this driver file should be completed and copied into the "/Board/" folder inside the application's folder.

This stub is for the board-specific component of the LUFA LEDs driver, for the LEDs (up to four) mounted on most development boards.

## Macro Definition Documentation

#define LEDS_ALL_LEDS (0xFF)

LED mask for all the LEDs on the board.

#define LEDS_LED1 (1 << 0)

LED mask for the first LED on the board.

#define LEDS_LED2 (1 << 1)

#define LEDS_LED3 (1 << 2)

#define LEDS_LED4 (1 << 3)

#define LEDS_LED5 (1 << 4)

#define LEDS_LED6 (1 << 5)

#define LEDS_LED7 (1 << 6)

#define LEDS_LED8 (1 << 7)

#define LEDS_NO_LEDS 0

LED mask for none of the board LEDs.