159 #ifndef ti_drivers_Button__include 160 #define ti_drivers_Button__include 167 #include <ti/drivers/dpl/ClockP.h> 206 typedef enum Button_State
213 Button_LONGPRESSING = 3,
215 Button_LONGPRESSED = 4,
217 Button_RELEASING = 5,
219 Button_RELEASING_LONG = 6,
223 Button_DBLPRESS_DETECTION = 8,
225 Button_DBLPRESSING = 9,
227 Button_DBLPRESSED = 10,
229 Button_RELEASING_DBLPRESSED = 11
263 typedef void (*
Button_Callback)(Button_Handle buttonHandle, Button_EventMask buttonEvents);
304 typedef struct Button_StateVariables
309 uint32_t pressedStartTime;
311 uint32_t lastPressedDuration;
312 } Button_StateVariables;
324 Button_StateVariables buttonStateVariables;
ADC_Params params
Definition: Driver_Init.h:11
General Purpose I/O driver interface.