/*\r
LUFA Library\r
- Copyright (C) Dean Camera, 2011.\r
+ Copyright (C) Dean Camera, 2012.\r
\r
dean [at] fourwalledcubicle [dot] com\r
www.lufa-lib.org\r
*/\r
\r
/*\r
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
\r
Permission to use, copy, modify, distribute, and sell this\r
software and its documentation for any purpose is hereby granted\r
*\r
* Board specific Buttons driver header for the Paranoid Studio USB2AX (http://paranoidstudio.assembla.com/wiki/show/paranoidstudio/USB2AX).\r
*\r
+ * <table>\r
+ * <tr><th>Name</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr>\r
+ * <tr><td>BUTTONS_BUTTON1</td><td>HWB Button</td><td>Low</td><td>PORTD.7</td></tr>\r
+ * </table>\r
+ *\r
* @{\r
*/\r
\r
PORTD |= BUTTONS_BUTTON1;\r
}\r
\r
+ static inline void Buttons_Disable(void)\r
+ {\r
+ DDRD &= ~BUTTONS_BUTTON1;\r
+ PORTD &= ~BUTTONS_BUTTON1;\r
+ }\r
+\r
static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;\r
static inline uint8_t Buttons_GetStatus(void)\r
{\r
\r
/** @} */\r
\r
+