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) |
Board specific joystick driver header for the Atmel EVK1100.
Left Port Pin | Up Port Pin | Right Port Pin | Down Port Pin | Press Port Pin |
---|---|---|---|---|
GPIO25 | GPIO26 | GPIO28 | GPIO27 | GPIO20 |
#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.