From 5563da6a626a7301e5064a8df8b3a9b03421f8aa Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 29 Jan 2012 14:33:36 +0000 Subject: Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the board hardware drivers. --- LUFA/Drivers/Board/Buttons.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'LUFA/Drivers/Board/Buttons.h') diff --git a/LUFA/Drivers/Board/Buttons.h b/LUFA/Drivers/Board/Buttons.h index f60dbb50b..3dd89a943 100644 --- a/LUFA/Drivers/Board/Buttons.h +++ b/LUFA/Drivers/Board/Buttons.h @@ -141,13 +141,16 @@ /* Pseudo-Functions for Doxygen: */ #if defined(__DOXYGEN__) - /** Initializes the BUTTONS driver, so that the current button position can be read. This sets the appropriate + /** Initializes the buttons driver, so that the current button position can be read. This sets the appropriate * I/O pins to an inputs with pull-ups enabled. * * This must be called before any Button driver functions are used. */ static inline void Buttons_Init(void); + /** Disables the buttons driver, releasing the I/O pins back to their default high-impedence input mode. */ + static inline void Buttons_Disable(void); + /** Returns a mask indicating which board buttons are currently pressed. * * \return Mask indicating which board buttons are currently pressed. -- cgit v1.2.3