Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the board hardware drivers.

This commit is contained in:
Dean Camera 2012-01-29 14:33:36 +00:00
parent a147cee95f
commit 5563da6a62
65 changed files with 422 additions and 16 deletions

View file

@ -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.