Classes | |
class | TapClass |
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... | |
int TapOpen | ( | FAR TapClass * | ins, |
FAR ST_TAP_OPEN * | OpenParam | ||
) |
Set coefficients necessary for parameter initialization and tap detection.
[in] | ins | : instance address of TapClass |
int TapClose | ( | FAR TapClass * | ins | ) |
int TapWrite | ( | FAR TapClass * | ins, |
FAR ST_TAP_ACCEL * | accelData | ||
) |
Detect tap.
[in] | ins | : instance address of TapClass |
[in] | accelData | : Accel Data |
int TapWrite_timestamp | ( | FAR TapClass * | ins, |
FAR ST_TAP_ACCEL * | accelData, | ||
uint64_t | time_stamp | ||
) |
Detect tap.
[in] | ins | : instance address of TapClass |
[in] | accelData | : Accel Data |
[in] | time_stamp | : Time Stamp |