| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Buttons.h File Reference

LUFA Custom Board Button Hardware Driver (Template) More...

## Macros
#define | BUTTONS_BUTTON1 1
#define | BUTTONS_BUTTON2 2
#define | BUTTONS_BUTTON3 4
#define | BUTTONS_BUTTON4 8

## Detailed Description

This is a stub driver header file, for implementing custom board layout hardware with compatible LUFA board specific drivers. If the library is configured to use the BOARD_USER board mode, this driver file should be completed and copied into the "/Board/" folder inside the application's folder.

This stub is for the board-specific component of the LUFA Buttons driver, for the control of physical board-mounted GPIO pushbuttons.

## Macro Definition Documentation

#define BUTTONS_BUTTON1 1

Button mask for the first button on the board.

#define BUTTONS_BUTTON2 2

#define BUTTONS_BUTTON3 4

#define BUTTONS_BUTTON4 8