Nordic Thingy:52
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Microphone driver

Microphone driver API. More...

Data Structures

struct  m_audio_frame_t
 Compressed audio frame representation. More...
 

Typedefs

typedef uint32_t(* drv_mic_data_handler_t )(m_audio_frame_t *p_frame)
 Microphone driver data handler callback type.
 

Functions

uint32_t drv_mic_init (drv_mic_data_handler_t data_handler)
 Function for initializing the microphone driver. More...
 
uint32_t drv_mic_start (void)
 Function for starting the microphone driver. More...
 
uint32_t drv_mic_stop (void)
 Function for stopping the microphone driver. More...
 

Detailed Description

Microphone driver API.

Function Documentation

uint32_t drv_mic_init ( drv_mic_data_handler_t  data_handler)

Function for initializing the microphone driver.

Parameters
[in]data_handlerPointer data handler callback.
Return values
NRF_SUCCESSIf initialization was successful.
uint32_t drv_mic_start ( void  )

Function for starting the microphone driver.

Return values
NRF_SUCCESSIf initialization was successful.
uint32_t drv_mic_stop ( void  )

Function for stopping the microphone driver.

Return values
NRF_SUCCESSIf initialization was successful.