Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the...
[pub/USBasp.git] / LUFA / Drivers / Board / XMEGA / A3BU_XPLAINED / LEDs.h
index d555ac2..f4a5d0e 100644 (file)
                                PORTR_OUTSET = LEDS_ALL_LEDS;
                        }
 
+                       static inline void LEDs_Disable(void)
+                       {
+                               PORTR_DIRCLR = LEDS_ALL_LEDS;
+                               PORTR_OUTCLR = LEDS_ALL_LEDS;
+                       }
+
                        static inline void LEDs_TurnOnLEDs(const uint8_t LEDMask)
                        {
                                PORTR_OUTCLR = LEDMask;