LUFA Library  130901
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Board specific LED driver header for the Atmel XMEGA C3 Xplained. More...

Macros

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

Detailed Description

Board specific LED driver header for the Atmel XMEGA C3 Xplained.

NameColorInfoActive LevelPort Pin
LEDS_LED1YellowLED0 LEDLowPORTR.0
LEDS_LED2YellowLED1 LEDLowPORTR.1
LEDS_LED3RedStatus Bicolour Red LEDLowPORTD.4
LEDS_LED4GreenStatus Bicolour Green LEDHighPORTD.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 << 0)

LED mask for the first LED on the board.

#define LEDS_LED2   (1 << 1)

LED mask for the second LED on the board.

#define LEDS_LED3   (1 << 4)

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.