Go to the documentation of this file.
180 #define DFSDM_OVER_SAMPLING(__FREQUENCY__) \
181 (__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 256 \
182 : (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 256 \
183 : (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 128 \
184 : (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 128 \
185 : (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 64 \
186 : (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 64 \
187 : (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 40 : 20 \
189 #define DFSDM_CLOCK_DIVIDER(__FREQUENCY__) \
190 (__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 24 \
191 : (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 4 \
192 : (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 24 \
193 : (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 4 \
194 : (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 24 \
195 : (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 4 \
196 : (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 25 : 25 \
198 #define DFSDM_FILTER_ORDER(__FREQUENCY__) \
199 (__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? DFSDM_FILTER_SINC3_ORDER \
200 : (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? DFSDM_FILTER_SINC3_ORDER \
201 : (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? DFSDM_FILTER_SINC3_ORDER \
202 : (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? DFSDM_FILTER_SINC3_ORDER \
203 : (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? DFSDM_FILTER_SINC4_ORDER \
204 : (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? DFSDM_FILTER_SINC3_ORDER \
205 : (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? DFSDM_FILTER_SINC3_ORDER : DFSDM_FILTER_SINC5_ORDER \
207 #define DFSDM_RIGHT_BIT_SHIFT(__FREQUENCY__) \
208 (__FREQUENCY__ == AUDIO_FREQUENCY_8K) ? 8 \
209 : (__FREQUENCY__ == AUDIO_FREQUENCY_11K) ? 8 \
210 : (__FREQUENCY__ == AUDIO_FREQUENCY_16K) ? 3 \
211 : (__FREQUENCY__ == AUDIO_FREQUENCY_22K) ? 4 \
212 : (__FREQUENCY__ == AUDIO_FREQUENCY_32K) ? 7 \
213 : (__FREQUENCY__ == AUDIO_FREQUENCY_44K) ? 0 \
214 : (__FREQUENCY__ == AUDIO_FREQUENCY_48K) ? 0 : 4 \
217 #define SaturaLH(N, L, H) (((N)<(L))?(L):(((N)>(H))?(H):(N)))
308 uint32_t deviceid = 0x00;
667 gpio_init_structure.
Speed = GPIO_SPEED_HIGH;
730 gpio_init_structure.
Speed = GPIO_SPEED_FAST;
740 gpio_init_structure.
Speed = GPIO_SPEED_FAST;
1727 rcc_ex_clk_init_struct.Dfsdm1AudioClockSelection = RCC_DFSDM1AUDIOCLKSOURCE_SAI2;
#define __HAL_DMA_RESET_HANDLE_STATE(__HANDLE__)
Reset DMA handle state.
static uint32_t DmaTopRightRecHalfCplt
#define AUDIO_IN_SAIx_DMAx_CHANNEL
static void DFSDMx_FilterMspDeInit(void)
DeInitialize the DFSDM filter MSP.
#define AUDIO_DFSDMx_DMIC_DATIN_GPIO_PORT
#define __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__)
#define AUDIO_IN_INT_GPIO_PIN
#define SAI_FREE_PROTOCOL
#define AUDIO_IN_SAIx_DMAx_IRQ
#define AUDIO_FREQUENCY_11K
#define SAI_FIFOTHRESHOLD_1QF
#define SAI_OUTPUT_RELEASED
void HAL_SAI_ErrorCallback(SAI_HandleTypeDef *hsai)
SAI error callbacks.
#define DFSDM_CONTINUOUS_CONV_ON
DFSDM_Channel_OutputClockTypeDef OutputClock
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
#define SAI_OUTPUTDRIVE_DISABLE
HAL_StatusTypeDef HAL_SAI_DMAStop(SAI_HandleTypeDef *hsai)
#define DFSDM_CHANNEL_STANDARD_MODE
#define SAI_CLOCKSTROBING_FALLINGEDGE
#define AUDIO_DFSDMx_TOP_LEFT_FILTER
__weak void BSP_AUDIO_IN_MspInit(void)
Initialize BSP_AUDIO_IN MSP.
__weak void BSP_AUDIO_OUT_ClockConfig(SAI_HandleTypeDef *hsai, uint32_t AudioFreq, void *Params)
Clock Config.
#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE
uint32_t ActiveFrameLength
DMA handle Structure definition.
#define DEFAULT_AUDIO_IN_CHANNEL_NBR
HAL_StatusTypeDef HAL_DFSDM_FilterDeInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
uint32_t(* Play)(uint16_t, uint16_t *, uint16_t)
#define DFSDM_OVER_SAMPLING(__FREQUENCY__)
GPIO Init structure definition
HAL_StatusTypeDef HAL_DFSDM_FilterInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
DMA_HandleTypeDef * hdmatx
HAL_StatusTypeDef HAL_SAI_DMAPause(SAI_HandleTypeDef *hsai)
#define AUDIO_IN_SAIx_CLK_DISABLE()
DFSDM_Channel_HandleTypeDef hAudioInButtomRightChannel
#define AUDIO_OUT_SAIx_CLK_ENABLE()
#define AUDIO_IN_IRQ_PREPRIO
__weak void BSP_AUDIO_OUT_MspDeInit(SAI_HandleTypeDef *hsai, void *Params)
Deinitializes SAI MSP.
#define __HAL_DFSDM_CHANNEL_RESET_HANDLE_STATE(__HANDLE__)
Reset DFSDM channel handle state.
#define AUDIO_DFSDMx_CLK_ENABLE()
#define AUDIO_OUT_SAIx_DMAx_CHANNEL
static uint32_t DmaTopLeftRecHalfCplt
#define AUDIO_DFSDMx_DMAx_CLK_ENABLE()
#define SAI_SLOTSIZE_DATASIZE
uint8_t BSP_AUDIO_OUT_Stop(uint32_t Option)
Stops audio playing and Power down the Audio Codec.
DFSDM_Channel_HandleTypeDef hAudioInButtomLeftChannel
#define DFSDM_CHANNEL_SPI_RISING
DFSDM_Channel_SerialInterfaceTypeDef SerialInterface
HAL_StatusTypeDef HAL_SAI_DeInit(SAI_HandleTypeDef *hsai)
AUDIO_DrvTypeDef wm8994_drv
#define AUDIO_OUT_SAIx_SCK_PIN
void BSP_AUDIO_OUT_SetAudioFrameSlot(uint32_t AudioFrameSlot)
Updates the Audio frame slot configuration.
void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
uint32_t PeriphClockSelection
SAI_HandleTypeDef haudio_in_sai
#define SAI_SYNCEXT_DISABLE
HAL_SAI_StateTypeDef HAL_SAI_GetState(SAI_HandleTypeDef *hsai)
#define SAI_FS_CHANNEL_IDENTIFICATION
#define AUDIO_DFSDMx_TOP_LEFT_CHANNEL
#define AUDIO_OUT_SAIx_SD_PIN
#define AUDIO_I2C_ADDRESS
AUDIO I2C Interface pins.
#define AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQ
static void DFSDMx_FilterMspInit(void)
Initialize the DFSDM filter MSP.
uint8_t BSP_AUDIO_OUT_SetOutputMode(uint8_t Output)
Switch dynamically (while audio file is played) the output target (speaker or headphone).
static uint32_t DmaButtomLeftRecHalfCplt
__weak void BSP_AUDIO_IN_Error_CallBack(void)
Audio IN Error callback function.
uint32_t PeriphDataAlignment
#define AUDIO_OUT_SAIx_MCLK_ENABLE()
RCC_PLLI2SInitTypeDef PLLI2S
static uint8_t AudioIn_ChannelNumber
void BSP_AUDIO_IN_DeInit(void)
Deinit the audio IN peripherals.
DMA_HandleTypeDef hDmaButtomLeft
uint8_t BSP_AUDIO_IN_Record(uint16_t *pbuf, uint32_t size)
Start audio recording.
static __IO uint32_t AppBuffHalf
#define AUDIO_OUT_IRQ_PREPRIO
SAI_Block_TypeDef * Instance
void HAL_Delay(uint32_t Delay)
This function provides minimum delay (in milliseconds) based on variable incremented.
#define DFSDM_CHANNEL_SPI_FALLING
#define DFSDM_CHANNEL_FASTSINC_ORDER
#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_STREAM
__weak void BSP_AUDIO_IN_TransferComplete_CallBack(void)
User callback when record buffer is filled.
#define DMA_MBURST_SINGLE
uint8_t BSP_AUDIO_IN_Stop(void)
Stop audio recording.
#define SAI_MODEMASTER_RX
#define AUDIO_IN_SAIx_CLK_ENABLE()
#define SAI_MASTERDIVIDER_ENABLED
uint8_t BSP_AUDIO_OUT_Play(uint16_t *pBuffer, uint32_t Size)
Starts playing audio stream from a data buffer for a determined size.
#define DFSDM_RIGHT_BIT_SHIFT(__FREQUENCY__)
DFSDM_Filter_HandleTypeDef hAudioInTopLeftFilter
#define AUDIO_DFSDMx_TOP_RIGHT_CHANNEL
#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQ
#define SaturaLH(N, L, H)
__weak void BSP_AUDIO_OUT_HalfTransfer_CallBack(void)
Manages the DMA Half Transfer complete event.
#define DMA_PERIPH_TO_MEMORY
HAL_StatusTypeDef HAL_DFSDM_FilterRegularStop_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
DFSDM filter handle structure definition.
__weak void BSP_AUDIO_IN_MspDeInit(void)
DeInitialize BSP_AUDIO_IN MSP.
uint8_t BSP_AUDIO_IN_Resume(void)
Resume the audio file stream.
__weak void BSP_AUDIO_OUT_TransferComplete_CallBack(void)
Manages the DMA full Transfer complete event.
void HAL_SAI_TxCpltCallback(SAI_HandleTypeDef *hsai)
Tx Transfer completed callbacks.
DFSDM_Filter_HandleTypeDef hAudioInTopRightFilter
#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQ
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
__weak void BSP_AUDIO_IN_HalfTransfer_CallBack(void)
Manages the DMA Half Transfer complete event.
DFSDM_Channel_TypeDef * Instance
#define AUDIO_DFSDMx_DMIC_DATIN5_PIN
#define DFSDM_CHANNEL_SPI_CLOCK_INTERNAL
uint32_t(* Reset)(uint16_t)
#define AUDIO_FREQUENCY_22K
#define AUDIO_DFSDMx_DMAx_CHANNEL
#define AUDIO_OUT_SAIx_SD_FS_CLK_ENABLE()
uint32_t(* SetMute)(uint16_t, uint32_t)
DFSDM_Filter_TypeDef * Instance
#define RCC_SAI1CLKSOURCE_PLLI2S
HAL_StatusTypeDef HAL_DFSDM_FilterRegularStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length)
__weak void BSP_AUDIO_OUT_MspInit(SAI_HandleTypeDef *hsai, void *Params)
Initializes BSP_AUDIO_OUT MSP.
#define __HAL_DFSDM_FILTER_RESET_HANDLE_STATE(__HANDLE__)
Reset DFSDM filter handle state.
void HAL_SAI_RxHalfCpltCallback(SAI_HandleTypeDef *hsai)
Half reception complete callback.
static uint32_t DmaTopLeftRecCplt
#define AUDIO_IN_INT_GPIO_ENABLE()
static void SAIx_In_Init(uint32_t AudioFreq)
Initializes the Audio Codec audio interface (SAI).
#define AUDIO_OUT_SAIx_DMAx_IRQ
#define INPUT_DEVICE_DIGITAL_MIC
uint32_t(* Init)(uint16_t, uint16_t, uint8_t, uint32_t)
static uint32_t DmaButtomRightRecHalfCplt
#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE
DMA_HandleTypeDef * hdmatx
static uint32_t DmaButtomRightRecCplt
#define AUDIO_FREQUENCY_44K
DFSDM_Channel_AwdTypeDef Awd
uint32_t Sai2ClockSelection
uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq)
Configures the audio peripherals.
#define DMA_PRIORITY_HIGH
#define AUDIO_IN_INT_GPIO_PORT
DMA_Stream_TypeDef * Instance
HAL_StatusTypeDef HAL_SAI_DMAResume(SAI_HandleTypeDef *hsai)
void HAL_SAI_RxCpltCallback(SAI_HandleTypeDef *hsai)
Reception complete callback.
HAL_StatusTypeDef HAL_DFSDM_ChannelDeInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel)
uint32_t MemDataAlignment
#define GPIO_SPEED_FREQ_VERY_HIGH
uint8_t BSP_AUDIO_OUT_Pause(void)
This function Pauses the audio file stream. In case of using DMA, the DMA Pause feature is used.
void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
#define AUDIO_DFSDMx_BUTTOM_RIGHT_FILTER
static void DFSDMx_ChannelMspDeInit(void)
DeInitialize the DFSDM channel MSP.
uint32_t(* Stop)(uint16_t, uint32_t)
static uint8_t DFSDMx_Init(uint32_t AudioFreq)
Initialize the Digital Filter for Sigma-Delta Modulators interface (DFSDM).
void HAL_DFSDM_FilterRegConvCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
Regular conversion complete callback.
#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE()
SAI_HandleTypeDef haudio_out_sai
static void SAI_AUDIO_IN_MspDeInit(SAI_HandleTypeDef *hsai, void *Params)
De-Initializes SAI Audio IN MSP.
#define SAI_OUTPUTDRIVE_ENABLE
#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT
DMA_HandleTypeDef hDmaTopLeft
void BSP_AUDIO_OUT_SetFrequency(uint32_t AudioFreq)
Updates the audio frequency.
static int32_t * pScratchBuff[2 *DEFAULT_AUDIO_IN_CHANNEL_NBR]
HAL_StatusTypeDef HAL_DFSDM_ChannelInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel)
#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE
void BSP_AUDIO_OUT_ChangeBuffer(uint16_t *pData, uint16_t Size)
Sends n-Bytes on the SAI interface.
#define RCC_PERIPHCLK_SAI2
#define DMA_PBURST_SINGLE
#define AUDIO_DFSDMx_BUTTOM_LEFT_FILTER
#define AUDIO_OUT_SAIx_AF
static uint32_t DmaButtomLeftRecCplt
void HAL_DFSDM_FilterRegConvHalfCpltCallback(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
Half regular conversion complete callback.
#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_PORT
#define __HAL_SAI_DISABLE(__HANDLE__)
#define DFSDM_FILTER_ORDER(__FREQUENCY__)
#define SAI_MODEMASTER_TX
#define WM8994_ID
WM8994 ID
#define AUDIO_IN_SAIx_DMAx_STREAM
#define DFSDM_FILTER_EXT_TRIG_RISING_EDGE
DFSDM channel handle structure definition.
static void SAIx_In_DeInit(void)
Deinitializes the output Audio Codec audio interface (SAI).
#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE
DFSDM_Filter_InitTypeDef Init
uint32_t(* Resume)(uint16_t)
DMA_HandleTypeDef * hdmarx
uint8_t BSP_AUDIO_IN_Pause(void)
Pause the audio file stream.
#define __HAL_SAI_ENABLE(__HANDLE__)
void BSP_AUDIO_OUT_DeInit(void)
De-initializes the audio out peripheral.
HAL_StatusTypeDef HAL_DFSDM_FilterConfigRegChannel(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t Channel, uint32_t ContinuousMode)
#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_STREAM
static void SAI_AUDIO_IN_MspInit(SAI_HandleTypeDef *hsai, void *Params)
Initializes SAI Audio IN MSP.
DMA_HandleTypeDef hDmaTopRight
HAL_StatusTypeDef HAL_SAI_Receive_DMA(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size)
FunctionalState Activation
static __IO int32_t ScratchSize
#define DMA_FIFOMODE_ENABLE
DMA_HandleTypeDef hDmaButtomRight
DFSDM_Filter_HandleTypeDef hAudioInButtomRightFilter
#define SAI_MASTERDIVIDER_ENABLE
#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE
#define RCC_PERIPHCLK_SAI1
DFSDM_Filter_FilterParamTypeDef FilterParam
#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_CLK_ENABLE()
#define DMA_FIFOMODE_DISABLE
uint32_t(* ReadID)(uint16_t)
static void SAIx_Out_Init(uint32_t AudioFreq)
Initializes the Audio Codec audio interface (SAI).
void HAL_SAI_TxHalfCpltCallback(SAI_HandleTypeDef *hsai)
Tx Half Transfer completed callbacks.
uint8_t BSP_AUDIO_IN_AllocScratch(int32_t *pScratch, uint32_t size)
Allocate channel buffer scratch.
#define DMA_MEMORY_TO_PERIPH
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
#define CODEC_AUDIOFRAME_SLOT_02
HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
#define AUDIO_IN_SAIx_SD_PIN
#define AUDIO_OUT_SAIx_SD_FS_SCK_GPIO_PORT
#define SAI_OUTPUT_NOTRELEASED
DFSDM_Channel_InputTypeDef Input
uint8_t BSP_AUDIO_OUT_SetVolume(uint8_t Volume)
Controls the current audio volume level.
uint32_t Sai1ClockSelection
#define DFSDM_FILTER_EXT_TRIG_TIM1_TRGO
#define AUDIO_DFSDMx_DMIC_DATIN1_PIN
uint8_t BSP_AUDIO_OUT_Resume(void)
Resumes the audio file stream.
#define DFSDM_FILTER_SYNC_TRIGGER
DFSDM_Channel_HandleTypeDef hAudioInTopLeftChannel
HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
static uint8_t DFSDMx_DeInit(void)
De-initialize the Digital Filter for Sigma-Delta Modulators interface (DFSDM).
#define DFSDM_FILTER_SW_TRIGGER
static void DFSDMx_ChannelMspInit(void)
Initialize the DFSDM channel MSP.
uint8_t BSP_AUDIO_IN_GetChannelNumber(void)
Return audio in channel number.
#define SAI_FS_ACTIVE_LOW
#define CODEC_AUDIOFRAME_SLOT_0123
#define AUDIO_DFSDMx_CKOUT_AF
#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE
HAL_StatusTypeDef HAL_SAI_Init(SAI_HandleTypeDef *hsai)
#define AUDIO_DFSDMx_TOP_RIGHT_FILTER
static void SAIx_Out_DeInit(void)
Deinitializes the Audio Codec audio interface (SAI).
uint32_t(* Pause)(uint16_t)
uint8_t BSP_AUDIO_IN_Init(uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr)
Initialize wave recording.
uint32_t(* SetOutputMode)(uint16_t, uint8_t)
#define AUDIO_DFSDMx_DMIC_DATIN_AF
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
#define RCC_SAI2CLKSOURCE_PLLI2S
#define AUDIO_DFSDMx_CKOUT_PIN
DFSDM_Filter_InjectedParamTypeDef InjectedParam
RCC extended clocks structure definition.
uint8_t BSP_AUDIO_OUT_SetMute(uint32_t Cmd)
Enables or disables the MUTE mode by software.
#define AUDIO_OUT_SAIx_MCLK_PIN
#define AUDIO_IN_SAIx_SD_ENABLE()
#define SAI_OUTPUTDRIVE_ENABLED
#define DFSDM_CHANNEL_OUTPUT_CLOCK_AUDIO
DFSDM_Channel_InitTypeDef Init
#define AUDIO_OUT_SAIx_CLK_DISABLE()
#define AUDIO_DFSDMx_DMAx_TOP_LEFT_STREAM
#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_STREAM
#define SAI_CLOCKSTROBING_RISINGEDGE
static __IO uint32_t AppBuffTrigger
AUDIO_DrvTypeDef * audio_drv
uint32_t(* SetVolume)(uint16_t, uint8_t)
#define DMA_FIFO_THRESHOLD_FULL
static uint32_t DmaTopRightRecCplt
SAI_SlotInitTypeDef SlotInit
__weak void BSP_AUDIO_OUT_Error_CallBack(void)
Manages the DMA FIFO error event.
#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE()
SAI_FrameInitTypeDef FrameInit
#define AUDIO_DFSDMx_BUTTOM_RIGHT_CHANNEL
#define AUDIO_OUT_SAIx_DMAx_STREAM
static uint16_t AudioIn_Device
__weak void BSP_AUDIO_IN_ClockConfig(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, uint32_t AudioFreq, void *Params)
Clock Config.
#define SAI_FS_BEFOREFIRSTBIT
#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQ
#define AUDIO_DFSDMx_DMIC_DATIN_GPIO_CLK_ENABLE()
#define AUDIO_IN_SAIx_SD_GPIO_PORT
DFSDM_Channel_HandleTypeDef hAudioInTopRightChannel
DFSDM_Filter_RegularParamTypeDef RegularParam
void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
HAL_StatusTypeDef HAL_SAI_Transmit_DMA(SAI_HandleTypeDef *hsai, uint8_t *pData, uint16_t Size)
#define AUDIO_DFSDMx_BUTTOM_LEFT_CHANNEL
DFSDM_Filter_HandleTypeDef hAudioInButtomLeftFilter
uint8_t BSP_AUDIO_IN_InitEx(uint16_t InputDevice, uint32_t AudioFreq, uint32_t BitRes, uint32_t ChnlNbr)
Initialize wave recording.
This file contains the common defines and functions prototypes for the stm32f769i_discovery_audio....
#define AUDIO_OUT_SAIx_FS_PIN
#define DFSDM_CLOCK_DIVIDER(__FREQUENCY__)