Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the...
[pub/lufa.git] / LUFA / Drivers / Board / UC3 / EVK1101 / LEDs.h
index 6feadbc..65a3481 100644 (file)
                                AVR32_GPIO.port[LEDS_PORT].ovrs  = LEDS_ALL_LEDS;
                        }
 
+                       static inline void LEDs_Disable(void)
+                       {
+                               AVR32_GPIO.port[LEDS_PORT].gperc = LEDS_ALL_LEDS;
+                               AVR32_GPIO.port[LEDS_PORT].oderc = LEDS_ALL_LEDS;
+                               AVR32_GPIO.port[LEDS_PORT].ovrc  = LEDS_ALL_LEDS;
+                       }
+
                        static inline void LEDs_TurnOnLEDs(const uint32_t LEDMask)
                        {
                                AVR32_GPIO.port[LEDS_PORT].ovrc  = LEDMask;