| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
BUMBLEB
LEDs Driver - LUFA/Drivers/Board/LEDs.h

Board specific LED driver header for the Fletchtronics BUMBLEB. More...

## Macros
#define | LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4)
#define | LEDS_LED1 (1 << 4)
#define | LEDS_LED2 (1 << 5)
#define | LEDS_LED3 (1 << 6)
#define | LEDS_LED4 (1 << 7)
#define | LEDS_NO_LEDS 0

## Detailed Description

Board specific LED driver header for the Fletchtronics BUMBLEB (http://fletchtronics.net/bumble-b). The BUMBLEB third-party board does not include any on-board peripherals, but does have an officially recommended external peripheral layout for buttons, LEDs and a Joystick.

Name | Color | Info | Active Level | Port Pin
--- | --- | --- | --- | ---
LEDS_LED1 | N/A | User Supplied | High | PORTB.4
LEDS_LED2 | N/A | User Supplied | High | PORTB.5
LEDS_LED3 | N/A | User Supplied | High | PORTB.6
LEDS_LED4 | N/A | User Supplied | High | PORTB.7

## Macro Definition Documentation

#define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4)

LED mask for all the LEDs on the board.

#define LEDS_LED1 (1 << 4)

LED mask for the first LED on the board.

#define LEDS_LED2 (1 << 5)

LED mask for the second LED on the board.

#define LEDS_LED3 (1 << 6)

LED mask for the third LED on the board.

#define LEDS_LED4 (1 << 7)

LED mask for the fourth LED on the board.

#define LEDS_NO_LEDS 0

LED mask for none of the board LEDs.