Add branch for the conversion of demos to use standard C header files for configurati...
[pub/lufa.git] / LUFA / Drivers / Board / AVR8 / BIGMULTIO / LEDs.h
index 77b7d97..89516dc 100644 (file)
  *\r
  *  Board specific LED driver header for the Bitwizard Big-Multio (http://www.bitwizard.nl/wiki/index.php/Usbbigmultio).\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>Unknown</td><td>LED0</td><td>High</td><td>PORTF.6</td></tr>\r
+ *    <tr><td>LEDS_LED2</td><td>Unknown</td><td>LED1</td><td>High</td><td>PORTF.7</td></tr>\r
+ *    <tr><td>LEDS_LED3</td><td>Unknown</td><td>LED2</td><td>High</td><td>PORTE.2</td></tr>\r
+ *  </table>\r
+ *\r
  *  @{\r
  */\r
 \r
 \r
                        static inline void LEDs_ToggleLEDs(const uint8_t LEDMask)\r
                        {\r
-                               PORTF ^= (LEDMask & LEDS_PORTF_LEDS);\r
-                               PORTE ^= (LEDMask & LEDS_PORTE_LEDS);\r
+                               PINF  = (LEDMask & LEDS_PORTF_LEDS);\r
+                               PINE  = (LEDMask & LEDS_PORTE_LEDS);\r
                        }\r
 \r
                        static inline uint8_t LEDs_GetLEDs(void) ATTR_WARN_UNUSED_RESULT;\r