LUFA Library

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 PinUp Port PinRight Port PinDown Port PinPress Port Pin
GPIO38GPIO39GPIO41GPIO40GPIO13

Macro Definition Documentation

◆ JOY_DOWN

#define JOY_DOWN   (1UL << 8)

Mask for the joystick being pushed in the downward direction.

◆ JOY_LEFT

#define JOY_LEFT   (1UL << 6)

Mask for the joystick being pushed in the left direction.

◆ JOY_PRESS

#define JOY_PRESS   (1UL << 13)

Mask for the joystick being pushed inward.

◆ JOY_RIGHT

#define JOY_RIGHT   (1UL << 9)

Mask for the joystick being pushed in the right direction.

◆ JOY_UP

#define JOY_UP   (1UL << 7)

Mask for the joystick being pushed in the upward direction.