Developer World
Spresense SDK Library v3.3.0-375c679
Functions
Collaboration diagram for Functions:

Functions

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

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.