projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the...
[pub/lufa.git]
/
LUFA
/
CodeTemplates
/
DriverStubs
/
Buttons.h
diff --git
a/LUFA/CodeTemplates/DriverStubs/Buttons.h
b/LUFA/CodeTemplates/DriverStubs/Buttons.h
index
f1a1846
..
a1de82d
100644
(file)
--- a/
LUFA/CodeTemplates/DriverStubs/Buttons.h
+++ b/
LUFA/CodeTemplates/DriverStubs/Buttons.h
@@
-67,6
+67,11
@@
// TODO: Initialize the appropriate port pins as an inputs here, with pull-ups
}
// TODO: Initialize the appropriate port pins as an inputs here, with pull-ups
}
+ static inline void Buttons_Disable(void)
+ {
+ // TODO: Clear the appropriate port pins as high impedance inputs here
+ }
+
static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Buttons_GetStatus(void)
{
static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Buttons_GetStatus(void)
{