aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/Board/Buttons.h
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-01-29 14:33:36 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-01-29 14:33:36 +0000
commit4478a62f1160b53f57acecf68c182a67ad8a6bd2 (patch)
tree0d5ffd18c3d061f7b91443417ce61ff07b02af3e /LUFA/Drivers/Board/Buttons.h
parent5e04af2c4afa4513fd95817423119e9b4871c02a (diff)
Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the board hardware drivers.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2013 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/Drivers/Board/Buttons.h')
-rw-r--r--LUFA/Drivers/Board/Buttons.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/Buttons.h b/LUFA/Drivers/Board/Buttons.h
index f60dbb50..3dd89a94 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.