diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-25 18:27:27 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-04-25 18:27:27 +0000 |
commit | 5b5b73ce582d2afa40218e44b45a97ec6c6ce9cf (patch) | |
tree | d82787a575c7337c8d694d4fd4aacfcd83258068 /LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h | |
parent | c7bfcf2cbb5f87b0154e3a1e743bc7d0059cd1c9 (diff) | |
download | lufa-5b5b73ce582d2afa40218e44b45a97ec6c6ce9cf.tar.gz lufa-5b5b73ce582d2afa40218e44b45a97ec6c6ce9cf.tar.bz2 lufa-5b5b73ce582d2afa40218e44b45a97ec6c6ce9cf.zip |
Add basic hardware mapping information for all supported boards.
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h')
-rw-r--r-- | LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h b/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h index 11ab648ba..c689a3154 100644 --- a/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/MINIMUS/LEDs.h @@ -42,6 +42,13 @@ * * Board specific LED driver header for the Minimus USB (http://www.minimususb.com/). * + * <table> + * <tr><th>Name</th><th>Color</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr> + * <tr><td>LEDS_LED1</td><td>Red</td><td>General Indicator</td><td>Low</td><td>PORTD.5</td></tr> + * <tr><td>LEDS_LED2</td><td>Green</td><td>General Indicator</td><td>Low</td><td>PORTD.6</td></tr> + * <tr><td>LEDS_LED3</td><td>Blue</td><td>General Indicator</td><td>Low</td><td>PORTD.7</td></tr> + * </table> + * * @{ */ @@ -69,11 +76,14 @@ /** LED mask for the second LED on the board. */ #define LEDS_LED2 (1 << 6) + /** LED mask for the third LED on the board. */ + #define LEDS_LED3 (1 << 7) + /** LED mask for all the LEDs on the board. */ - #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2) + #define LEDS_ALL_LEDS (LEDS_LED1 | LEDS_LED2 | LEDS_LED3) /** LED mask for the none of the board LEDs. */ - #define LEDS_NO_LEDS 1 + #define LEDS_NO_LEDS 0 /* Inline Functions: */ #if !defined(__DOXYGEN__) |