Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the...
[pub/lufa.git] / LUFA / Drivers / Board / UC3 / EVK1100 / Joystick.h
index aaf729b..4bd6185 100644 (file)
                                AVR32_GPIO.port[JOY_PORT].gpers = JOY_MASK;
                        };
 
+                       static inline void Joystick_Disable(void)
+                       {
+                               AVR32_GPIO.port[JOY_PORT].gperc = JOY_MASK;
+                               AVR32_GPIO.port[JOY_PORT].gperc = JOY_MASK;
+                       };
+
                        static inline uint32_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
                        static inline uint32_t Joystick_GetStatus(void)
                        {