LUFA Library  130303
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Joystick.h File Reference

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

Macros

#define JOY_DOWN   ((1 << 5) >> JOY_PORTE_MASK_SHIFT)
 
#define JOY_LEFT   (1 << 6)
 
#define JOY_PRESS   (1 << 5)
 
#define JOY_RIGHT   ((1 << 4) >> JOY_PORTE_MASK_SHIFT)
 
#define JOY_UP   (1 << 7)
 

Detailed Description

Board specific joystick driver header for the Atmel STK525.

Left Port PinUp Port PinRight Port PinDown Port PinPress Port Pin
PORTB.6PORTB.7PORTE.4PORTE.5PORTB.5