projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ooops - TeensyHID bootloader makefile should use a 16MHz FCPU, not 8MHz.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
Buttons.h
diff --git
a/LUFA/Drivers/Board/Buttons.h
b/LUFA/Drivers/Board/Buttons.h
index
46d1473
..
117c37a
100644
(file)
--- a/
LUFA/Drivers/Board/Buttons.h
+++ b/
LUFA/Drivers/Board/Buttons.h
@@
-48,7
+48,9
@@
* - None
\r
*
\r
* \section Module Description
\r
* - None
\r
*
\r
* \section Module Description
\r
- * Functions, macros, variables, enums and types related to the control of physical board GPIO buttons.
\r
+ * Hardware buttons driver. This provides an easy to use driver for the hardware buttons present on many boards.
\r
+ * It provides a way to easily configure and check the status of all the buttons on the board so that appropriate
\r
+ * actions can be taken.
\r
*
\r
* If the BOARD value is set to BOARD_USER, this will include the /Board/Dataflash.h file in the user project
\r
* directory. Otherwise, it will include the appropriate built in board driver header file.
\r
*
\r
* If the BOARD value is set to BOARD_USER, this will include the /Board/Dataflash.h file in the user project
\r
* directory. Otherwise, it will include the appropriate built in board driver header file.
\r
@@
-62,7
+64,6
@@
/* Macros: */
\r
#if !defined(__DOXYGEN__)
\r
#define INCLUDE_FROM_BUTTONS_H
\r
/* Macros: */
\r
#if !defined(__DOXYGEN__)
\r
#define INCLUDE_FROM_BUTTONS_H
\r
- #define INCLUDE_FROM_BOARD_DRIVER
\r
#endif
\r
\r
/* Includes: */
\r
#endif
\r
\r
/* Includes: */
\r
@@
-71,15
+72,19
@@
#if !defined(BOARD)
\r
#error BOARD must be set in makefile to a value specified in BoardTypes.h.
\r
#elif (BOARD == BOARD_USBKEY)
\r
#if !defined(BOARD)
\r
#error BOARD must be set in makefile to a value specified in BoardTypes.h.
\r
#elif (BOARD == BOARD_USBKEY)
\r
- #include "USBKEY/B
UTTONS
.h"
\r
+ #include "USBKEY/B
uttons
.h"
\r
#elif (BOARD == BOARD_STK525)
\r
#elif (BOARD == BOARD_STK525)
\r
- #include "STK525/B
UTTONS
.h"
\r
+ #include "STK525/B
uttons
.h"
\r
#elif (BOARD == BOARD_STK526)
\r
#elif (BOARD == BOARD_STK526)
\r
- #include "STK526/B
UTTONS
.h"
\r
+ #include "STK526/B
uttons
.h"
\r
#elif (BOARD == BOARD_ATAVRUSBRF01)
\r
#elif (BOARD == BOARD_ATAVRUSBRF01)
\r
- #include "ATAVRUSBRF01/BUTTONS.h"
\r
+ #include "ATAVRUSBRF01/Buttons.h"
\r
+ #elif (BOARD == BOARD_BUMBLEB)
\r
+ #include "BUMBLEB/Buttons.h"
\r
+ #elif (BOARD == BOARD_EVK527)
\r
+ #include "EVK527/Buttons.h"
\r
#elif (BOARD == BOARD_USER)
\r
#elif (BOARD == BOARD_USER)
\r
- #include "Board/B
UTTONS.h"
\r
+ #include "Board/B
uttons.h"
\r
#else
\r
#error The selected board does not contain any GPIO buttons.
\r
#endif
\r
#else
\r
#error The selected board does not contain any GPIO buttons.
\r
#endif
\r