#include <sys/time.h>
Go to the source code of this file.
Classes | |
struct | ST_TAP_OPEN |
Coefficient required for tap detection. More... | |
struct | ST_TAP_ACCEL |
accel data More... | |
class | TapClass |
Enumerations | |
enum | E_TAP_STATE { E_TAP_STATE_IDLE = 0 , E_TAP_STATE_TAP } |
tap status More... | |
Functions | |
TapClass * | TapCreate (void) |
Create TapClass instance. return Address for instance of TapClass. | |
int | TapOpen (FAR TapClass *ins, FAR ST_TAP_OPEN *OpenParam) |
Set coefficients necessary for parameter initialization and tap detection. More... | |
int | TapClose (FAR TapClass *ins) |
None. More... | |
int | TapWrite (FAR TapClass *ins, FAR ST_TAP_ACCEL *accelData) |
Detect tap. More... | |
int | TapWrite_timestamp (FAR TapClass *ins, FAR ST_TAP_ACCEL *accelData, uint64_t time_stamp) |
Detect tap. More... | |