Sound level sensor (microphone)#

Sound level sensor (microphone) driver abstraction designed for Thunderboard.

Functions#

sl_status_t
sl_status_t

Function Documentation#

sl_sensor_sound_init#

sl_status_t sl_sensor_sound_init (void )
Parameters
N/A

Initialize sound level sensor. Returns

  • Status of the operation.


Definition at line 45 of file common/sensor_sound/sl_sensor_sound.h

sl_sensor_sound_deinit#

void sl_sensor_sound_deinit (void )
Parameters
N/A

Deinitialize sound level sensor.


Definition at line 50 of file common/sensor_sound/sl_sensor_sound.h

sl_sensor_sound_get#

sl_status_t sl_sensor_sound_get (float * sl)
Parameters
[out]sl

Sound pressure level (in dB).

Getter for sound level sensor measurement data. Returns

  • Status of the operation.


Definition at line 57 of file common/sensor_sound/sl_sensor_sound.h

sl_sensor_sound_step#

void sl_sensor_sound_step (void )
Parameters
N/A

Sound level sensor event handler.


Definition at line 62 of file common/sensor_sound/sl_sensor_sound.h