diff options
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h')
-rw-r--r-- | LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h b/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h index 9a71cf5d5..7149923ea 100644 --- a/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h +++ b/LUFA/Drivers/Board/AVR8/TEENSY/LEDs.h @@ -51,6 +51,18 @@ * * Board specific LED driver header for the PJRC Teensy boards (http://www.pjrc.com/teensy/index.html). * + * <b>TEENSY</b>: + * <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>Green</td><td>General Indicator</td><td>High</td><td>PORTD.6</td></tr> + * </table> + * + * <b>TEENSY2</b>: + * <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>Green</td><td>General Indicator</td><td>Low</td><td>PORTD.6</td></tr> + * </table> + * * @{ */ @@ -139,7 +151,7 @@ static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) { - PORTD ^= LEDMask; + PIND = LEDMask; } static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT; |