Firmware SDK
twr_button_driver_t Struct Reference

Button driver interface. More...

#include <twr_button.h>

Data Fields

void(* init )(twr_button_t *self)
 Callback for initialization.
 
int(* get_input )(twr_button_t *self)
 Callback for reading input state.
 

Detailed Description

Button driver interface.

Definition at line 36 of file twr_button.h.


The documentation for this struct was generated from the following file: