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

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

Macros

#define JOY_DOWN   (1UL << 27)
 
#define JOY_LEFT   (1UL << 25)
 
#define JOY_PRESS   (1UL << 20)
 
#define JOY_RIGHT   (1UL << 28)
 
#define JOY_UP   (1UL << 26)
 

Detailed Description

Board specific joystick driver header for the Atmel EVK1100.

Left Port PinUp Port PinRight Port PinDown Port PinPress Port Pin
GPIO25GPIO26GPIO28GPIO27GPIO20

Macro Definition Documentation

#define JOY_DOWN   (1UL << 27)

Mask for the joystick being pushed in the downward direction.

#define JOY_LEFT   (1UL << 25)

Mask for the joystick being pushed in the left direction.

#define JOY_PRESS   (1UL << 20)

Mask for the joystick being pushed inward.

#define JOY_RIGHT   (1UL << 28)

Mask for the joystick being pushed in the right direction.

#define JOY_UP   (1UL << 26)

Mask for the joystick being pushed in the upward direction.