LUFA Library  120730
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EVK1101

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

Macros

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

Detailed Description

Board specific joystick driver header for the Atmel EVK1101.

Left Port PinUp Port PinRight Port PinDown Port PinPress Port Pin
GPIO38GPIO39GPIO41GPIO40GPIO13

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.