LUFA Library  210130

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

◆ JOY_DOWN

#define JOY_DOWN   (1UL << 27)

Mask for the joystick being pushed in the downward direction.

◆ JOY_LEFT

#define JOY_LEFT   (1UL << 25)

Mask for the joystick being pushed in the left direction.

◆ JOY_PRESS

#define JOY_PRESS   (1UL << 20)

Mask for the joystick being pushed inward.

◆ JOY_RIGHT

#define JOY_RIGHT   (1UL << 28)

Mask for the joystick being pushed in the right direction.

◆ JOY_UP

#define JOY_UP   (1UL << 26)

Mask for the joystick being pushed in the upward direction.