STSW-STLKT01
|
Functions | |
void | HAL_DFSDM_FilterRegConvCpltCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Regular conversion complete callback. More... | |
void | HAL_DFSDM_FilterRegConvHalfCpltCallback (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Half regular conversion complete callback. More... | |
__weak void | BSP_AUDIO_IN_TransferComplete_CallBack (void) |
User callback when record buffer is filled. More... | |
__weak void | BSP_AUDIO_IN_HalfTransfer_CallBack (void) |
User callback when record buffer is half filled. More... | |
static uint8_t | DFSDMx_Init (uint32_t AudioFreq, uint32_t ChnlNbr) |
Initializes the Digital Filter for Sigma-Delta Modulators interface (DFSDM). More... | |
static void | DFSDMx_FilterMspInit (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
Initializes the DFSDM filter MSP. More... | |
static uint8_t | DFSDMx_DeInit (void) |
De-initializes the Digital Filter for Sigma-Delta Modulators interface (DFSDM). More... | |
static void | DFSDMx_ChannelMspDeInit (DFSDM_Channel_HandleTypeDef *hdfsdm_channel) |
DeInitializes the DFSDM channel MSP. More... | |
static void | DFSDMx_FilterMspDeInit (DFSDM_Filter_HandleTypeDef *hdfsdm_filter) |
DeInitializes the DFSDM filter MSP. More... | |
Detailed Description
Function Documentation
◆ BSP_AUDIO_IN_HalfTransfer_CallBack()
__weak void BSP_AUDIO_IN_HalfTransfer_CallBack | ( | void | ) |
User callback when record buffer is half filled.
- Parameters
-
None
- Return values
-
None
Definition at line 921 of file SensorTile_audio_in.c.
◆ BSP_AUDIO_IN_TransferComplete_CallBack()
__weak void BSP_AUDIO_IN_TransferComplete_CallBack | ( | void | ) |
User callback when record buffer is filled.
- Parameters
-
None
- Return values
-
None
Definition at line 910 of file SensorTile_audio_in.c.
◆ DFSDMx_ChannelMspDeInit()
|
static |
DeInitializes the DFSDM channel MSP.
- Parameters
-
hdfsdm_channel : DFSDM channel handle.
- Return values
-
None
Definition at line 813 of file SensorTile_audio_in.c.
◆ DFSDMx_DeInit()
|
static |
De-initializes the Digital Filter for Sigma-Delta Modulators interface (DFSDM).
- Return values
-
AUDIO_OK if correct communication, else wrong communication
Definition at line 786 of file SensorTile_audio_in.c.
◆ DFSDMx_FilterMspDeInit()
|
static |
DeInitializes the DFSDM filter MSP.
- Parameters
-
hdfsdm_filter : DFSDM filter handle.
- Return values
-
None
Definition at line 830 of file SensorTile_audio_in.c.
◆ DFSDMx_FilterMspInit()
|
static |
Initializes the DFSDM filter MSP.
- Parameters
-
hdfsdm_filter : DFSDM filter handle.
- Return values
-
None
Definition at line 711 of file SensorTile_audio_in.c.
◆ DFSDMx_Init()
|
static |
Initializes the Digital Filter for Sigma-Delta Modulators interface (DFSDM).
- Parameters
-
AudioFreq Audio frequency to be used to set correctly the DFSDM peripheral.
- Return values
-
AUDIO_OK if correct communication, else wrong communication
Definition at line 325 of file SensorTile_audio_in.c.
◆ HAL_DFSDM_FilterRegConvCpltCallback()
void HAL_DFSDM_FilterRegConvCpltCallback | ( | DFSDM_Filter_HandleTypeDef * | hdfsdm_filter | ) |
Regular conversion complete callback.
- Note
- This function performs an HP filter in order to remove DC offset and arranges PCM data following the standard PCM format.
- Parameters
-
hdfsdm_filter : DFSDM filter handle.
- Return values
-
None
Definition at line 861 of file SensorTile_audio_in.c.
◆ HAL_DFSDM_FilterRegConvHalfCpltCallback()
void HAL_DFSDM_FilterRegConvHalfCpltCallback | ( | DFSDM_Filter_HandleTypeDef * | hdfsdm_filter | ) |
Half regular conversion complete callback.
- Parameters
-
hdfsdm_filter : DFSDM filter handle.
- Return values
-
None
Definition at line 886 of file SensorTile_audio_in.c.
Generated by 1.8.13