Spresense SDK Library v3.4.6-5ba3997155669912adc4b68df0dc983c4388532a
Loading...
Searching...
No Matches
Functions
Collaboration diagram for Functions:

Functions

int TapMngInit (void)
 Initial processing. Create task.
 
int TapMngStart (struct tap_mng_start_param *sta_prm, int *ctl_id)
 Start Accel sensor and detect tap.
 
int TapMngStop (int ctl_id)
 Stop the Accel sensor and stop tap detection.
 
int TapMngFin (void)
 Finalize processing.
 

Detailed Description

Function Documentation

◆ TapMngInit()

int TapMngInit ( void )

Initial processing. Create task.

Returns
result of process.

◆ TapMngStart()

int TapMngStart ( struct tap_mng_start_param * sta_prm,
int * ctl_id )

Start Accel sensor and detect tap.

Parameters
[in]sta_prm: Coefficient required for tap detection
[out]ctl_id: Id identifying generated TapClass
Returns
result of process.

◆ TapMngStop()

int TapMngStop ( int ctl_id)

Stop the Accel sensor and stop tap detection.

Parameters
[in]ctl_id: ctl_id of the tap to stop
Returns
result of process.

◆ TapMngFin()

int TapMngFin ( void )

Finalize processing.

Returns
result of process.