| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
EVK1101
Joystick Driver - LUFA/Drivers/Board/Joystick.h

Board specific joystick driver header for the Atmel EVK1101. More...

## Macros
#define | JOY_DOWN (1UL << 8)
#define | JOY_LEFT (1UL << 6)
#define | JOY_PRESS (1UL << 13)
#define | JOY_RIGHT (1UL << 9)
#define | JOY_UP (1UL << 7)

## Detailed Description

Board specific joystick driver header for the Atmel EVK1101.

Left Port Pin | Up Port Pin | Right Port Pin | Down Port Pin | Press Port Pin
--- | --- | --- | --- | ---
GPIO38 | GPIO39 | GPIO41 | GPIO40 | GPIO13

## Macro Definition Documentation

#define JOY_DOWN (1UL << 8)

Mask for the joystick being pushed in the downward direction.

#define JOY_LEFT (1UL << 6)

Mask for the joystick being pushed in the left direction.

#define JOY_PRESS (1UL << 13)

Mask for the joystick being pushed inward.

#define JOY_RIGHT (1UL << 9)

Mask for the joystick being pushed in the right direction.

#define JOY_UP (1UL << 7)

Mask for the joystick being pushed in the upward direction.