LUFA Library  151115

Board specific LED driver header for the Olimex AVR-USB-32U4. More...

Macros

#define LEDS_ALL_LEDS   (LEDS_LED1 | LEDS_LED2 | LEDS_LED3 | LEDS_LED4)
 
#define LEDS_LED1   ((1 << 5) >> LEDS_PORTD_MASK_SHIFT)
 
#define LEDS_LED2   (1 << 0)
 
#define LEDS_LED3   (1 << 6)
 
#define LEDS_LED4   (1 << 5)
 
#define LEDS_NO_LEDS   0
 

Detailed Description

Board specific LED driver header for the Olimex AVR-USB-32U4 (http://www.olimex.com/dev/olimexino-32u4.html).

NameColorInfoActive LevelPort Pin
LEDS_LED1GreenTXHighPORTD.5
LEDS_LED2YellowRXHighPORTB.0
LEDS_LED3GreenGeneral Indicator (Default Unconnected)HighPORTE.6
LEDS_LED4YellowGeneral Indicator (Default Unconnected)HighPORTB.5

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 << 5) >> LEDS_PORTD_MASK_SHIFT)

LED mask for the first LED on the board.

#define LEDS_LED2   (1 << 0)

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 << 5)

LED mask for the fourth LED on the board.

#define LEDS_NO_LEDS   0

LED mask for none of the board LEDs.