Add branch for the conversion of demos to use standard C header files for configurati...
[pub/lufa.git] / LUFA / Drivers / Board / AVR8 / MULTIO / LEDs.h
index af2f7b3..64f68a5 100644 (file)
  *\r
  *  Board specific LED driver header for the Bitwizard Multio (http://www.bitwizard.nl/wiki/index.php/USB-multio).\r
  *\r
+ *  <table>\r
+ *    <tr><th>Name</th><th>Color</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr>\r
+ *    <tr><td>LEDS_LED1</td><td>Green</td><td>General Indicator</td><td>High</td><td>PORTD.0</td></tr>\r
+ *    <tr><td>LEDS_LED2</td><td>Green</td><td>General Indicator</td><td>High</td><td>PORTC.2</td></tr>\r
+ *    <tr><td>LEDS_LED3</td><td>Green</td><td>General Indicator</td><td>High</td><td>PORTD.7</td></tr>\r
+ *  </table>\r
+ *\r
  *  @{\r
  */\r
 \r
 \r
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)\r
                        {\r
-                               PORTD ^= (LEDMask & LEDS_PORTD_LEDS);\r
-                               PORTC ^= (LEDMask & LEDS_PORTC_LEDS);\r
+                               PIND  = (LEDMask & LEDS_PORTD_LEDS);\r
+                               PINC  = (LEDMask & LEDS_PORTC_LEDS);\r
                        }\r
 \r
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r