Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
joystick.h
Go to the documentation of this file.
1#ifndef __JOYSTICK_H
2#define __JOYSTICK_H
3
4#include "joystick_types.h"
5#include "types.h"
6
10
13void JOYSTICK_Deinit(void);
14
19
24
29
33
34#endif
void JOYSTICK_Deinit(void)
Deinitializes the joystick, by removing all functions associated with the actions,...
Definition joystick.c:58
void JOYSTICK_UnsetFunction(JOYSTICK_Action action)
Unsets a functionality for the given action, if previously set.
Definition joystick.c:115
JOYSTICK_Error JOYSTICK_Init(void)
Initializes the joystick peripheral with the given options.
Definition joystick.c:41
void JOYSTICK_SetFunction(JOYSTICK_Action action, JOYSTICK_Function function)
Sets a functionality for the given action.
Definition joystick.c:107
void JOYSTICK_DisableAction(JOYSTICK_Action action)
Disables the specific action, and disables the binding with its functionality, without un-binding it ...
Definition joystick.c:86
void JOYSTICK_EnableAction(JOYSTICK_Action action)
Enables the specified action, thus enabling the binding with the associated functionality,...
Definition joystick.c:65
void(* JOYSTICK_Function)(void)
Joystick function handler function pointer.
JOYSTICK_Error
JOYSTICK_Action