STM32H743I_EVAL BSP User Manual: AUDIO Exported Constants

STM32H743I_EVAL BSP

STM32H743I_EVAL BSP User Manual
AUDIO Exported Constants

Modules

 BSP Audio Sample Rate
 Code audio frame slot in TDM mode.

Defines

#define AUDIO_OUT_SAIx   SAI1_Block_A
#define AUDIO_OUT_SAIx_CLK_ENABLE()   __HAL_RCC_SAI1_CLK_ENABLE()
#define AUDIO_OUT_SAIx_CLK_DISABLE()   __HAL_RCC_SAI1_CLK_DISABLE()
#define AUDIO_OUT_SAIx_AF   GPIO_AF6_SAI1
#define AUDIO_OUT_SAIx_MCLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT   GPIOE
#define AUDIO_OUT_SAIx_MCLK_PIN   GPIO_PIN_2
#define AUDIO_OUT_SAIx_SD_FS_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define AUDIO_OUT_SAIx_SD_FS_SCK_GPIO_PORT   GPIOE
#define AUDIO_OUT_SAIx_FS_PIN   GPIO_PIN_4
#define AUDIO_OUT_SAIx_SCK_PIN   GPIO_PIN_5
#define AUDIO_OUT_SAIx_SD_PIN   GPIO_PIN_6
#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE()   __HAL_RCC_DMA2_CLK_ENABLE()
#define AUDIO_OUT_SAIx_DMAx_STREAM   DMA2_Stream1
#define AUDIO_OUT_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_A
#define AUDIO_OUT_SAIx_DMAx_IRQ   DMA2_Stream1_IRQn
#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
#define AUDIO_OUT_SAIx_DMAx_IRQHandler   DMA2_Stream1_IRQHandler
#define AUDIO_OUT_IRQ_PREPRIO   ((uint32_t)0x0E)
#define AUDIO_IN_SAIx   SAI1_Block_B
#define AUDIO_IN_SAIx_CLK_ENABLE()   __HAL_RCC_SAI1_CLK_ENABLE()
#define AUDIO_IN_SAIx_CLK_DISABLE()   __HAL_RCC_SAI1_CLK_DISABLE()
#define AUDIO_IN_SAIx_AF   GPIO_AF6_SAI1
#define AUDIO_IN_SAIx_SD_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define AUDIO_IN_SAIx_SD_GPIO_PORT   GPIOE
#define AUDIO_IN_SAIx_SD_PIN   GPIO_PIN_3
#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE()   __HAL_RCC_DMA2_CLK_ENABLE()
#define AUDIO_IN_SAIx_DMAx_STREAM   DMA2_Stream4
#define AUDIO_IN_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_B
#define AUDIO_IN_SAIx_DMAx_IRQ   DMA2_Stream4_IRQn
#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
#define AUDIO_IN_SAIx_DMAx_IRQHandler   DMA2_Stream4_IRQHandler
#define AUDIO_IN_INT_GPIO_ENABLE()   __HAL_RCC_GPIOJ_CLK_ENABLE()
#define AUDIO_IN_INT_GPIO_PORT   GPIOJ
#define AUDIO_IN_INT_GPIO_PIN   GPIO_PIN_12
#define AUDIO_IN_INT_IRQ   EXTI15_10_IRQn
#define AUDIO_DFSDMx_MIC1_CHANNEL   DFSDM1_Channel1 /* MP34DT01TR microphone on PCB top side */
#define AUDIO_DFSDMx_MIC2_CHANNEL   DFSDM1_Channel0 /* MP34DT01TR microphone on PCB top side */
#define AUDIO_DFSDMx_MIC1_CHANNEL_FOR_FILTER   DFSDM_CHANNEL_1
#define AUDIO_DFSDMx_MIC2_CHANNEL_FOR_FILTER   DFSDM_CHANNEL_0
#define AUDIO_DFSDMx_MIC1_FILTER   DFSDM1_Filter0 /* Common filter for MP34DT01TR microphone input */
#define AUDIO_DFSDMx_MIC2_FILTER   DFSDM1_Filter1 /* Common filter for MP34DT01TR microphone input */
#define AUDIO_DFSDMx_CLK_ENABLE()   __HAL_RCC_DFSDM1_CLK_ENABLE()
#define AUDIO_DFSDMx_CKOUT_PIN   GPIO_PIN_2
#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_PORT   GPIOC
#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define AUDIO_DFSDMx_CKOUT_DMIC_AF   GPIO_AF6_DFSDM1
#define AUDIO_DFSDMx_DMIC_PIN   GPIO_PIN_3
#define AUDIO_DFSDMx_DMIC_GPIO_PORT   GPIOC
#define AUDIO_DFSDMx_DMIC_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define AUDIO_DFSDMx_DMIC_AF   GPIO_AF3_DFSDM1
#define AUDIO_DFSDMx_DMAx_CLK_ENABLE()   __HAL_RCC_DMA2_CLK_ENABLE()
#define AUDIO_DFSDMx_DMAx_MIC1_STREAM   DMA2_Stream0
#define AUDIO_DFSDMx_DMAx_MIC1_REQUEST   DMA_REQUEST_DFSDM1_FLT0
#define AUDIO_DFSDMx_DMAx_MIC2_STREAM   DMA2_Stream5
#define AUDIO_DFSDMx_DMAx_MIC2_REQUEST   DMA_REQUEST_DFSDM1_FLT1
#define AUDIO_DFSDMx_DMAx_MIC1_IRQ   DMA2_Stream0_IRQn
#define AUDIO_DFSDMx_DMAx_MIC2_IRQ   DMA2_Stream5_IRQn
#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_WORD
#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_WORD
#define AUDIO_DFSDM_DMAx_MIC1_IRQHandler   DMA2_Stream0_IRQHandler
#define AUDIO_DFSDM_DMAx_MIC2_IRQHandler   DMA2_Stream5_IRQHandler
#define AUDIO_IN_IRQ_PREPRIO   ((uint32_t)0x0F)
#define AUDIO_IN_SAI_PDMx   SAI4_Block_A
#define AUDIO_IN_SAI_PDMx_CLK_ENABLE()   __HAL_RCC_SAI4_CLK_ENABLE()
#define AUDIO_IN_SAI_PDMx_CLK_DISABLE()   __HAL_RCC_SAI4_CLK_DISABLE()
#define AUDIO_IN_SAI_PDMx_FS_SCK_AF   GPIO_AF8_SAI4
#define AUDIO_IN_SAI_PDMx_FS_SCK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define AUDIO_IN_SAI_PDMx_FS_SCK_GPIO_PORT   GPIOE
#define AUDIO_IN_SAI_PDMx_FS_PIN   GPIO_PIN_4
#define AUDIO_IN_SAI_PDMx_SCK_PIN   GPIO_PIN_5
#define AUDIO_IN_SAI_PDMx_CLK_IN_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
#define AUDIO_IN_SAI_PDMx_CLK_IN_PIN   GPIO_PIN_2
#define AUDIO_IN_SAI_PDMx_CLK_IN_PORT   GPIOE
#define AUDIO_IN_SAI_PDMx_DATA_IN_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
#define AUDIO_IN_SAI_PDMx_DATA_IN_PIN   GPIO_PIN_1
#define AUDIO_IN_SAI_PDMx_DATA_IN_PORT   GPIOC
#define AUDIO_IN_SAI_PDMx_DATA_CLK_AF   GPIO_AF10_SAI4
#define AUDIO_IN_SAI_PDMx_IRQHandler   SAI4_IRQHandler
#define AUDIO_IN_SAI_PDMx_IRQ   SAI4_IRQn
#define AUDIO_IN_SAI_PDMx_DMAx_CLK_ENABLE()   __HAL_RCC_BDMA_CLK_ENABLE()
#define AUDIO_IN_SAI_PDMx_DMAx_STREAM   BDMA_Channel1
#define AUDIO_IN_SAI_PDMx_DMAx_REQUEST   BDMA_REQUEST_SAI4_A
#define AUDIO_IN_SAI_PDMx_DMAx_IRQ   BDMA_Channel1_IRQn
#define AUDIO_IN_SAI_PDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
#define AUDIO_IN_SAI_PDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
#define AUDIO_IN_SAI_PDMx_DMAx_IRQHandler   BDMA_Channel1_IRQHandler
#define AUDIODATA_SIZE   ((uint32_t)2) /* 16-bits audio data size */
#define AUDIO_OK   ((uint8_t)0)
#define AUDIO_ERROR   ((uint8_t)1)
#define AUDIO_TIMEOUT   ((uint8_t)2)
#define DEFAULT_AUDIO_IN_FREQ   BSP_AUDIO_FREQUENCY_16K
#define DEFAULT_AUDIO_IN_BIT_RESOLUTION   ((uint8_t)16)
#define DEFAULT_AUDIO_IN_CHANNEL_NBR   ((uint8_t)2)
#define DEFAULT_AUDIO_IN_VOLUME   ((uint16_t)64)
#define OUTPUT_DEVICE_HEADPHONE1   OUTPUT_DEVICE_HEADPHONE
#define OUTPUT_DEVICE_HEADPHONE2   OUTPUT_DEVICE_SPEAKER /* Headphone2 is connected to Speaker output of the wm8994 */
#define INPUT_DEVICE_ANALOG_MIC   ((uint32_t)0x00000001)
#define INPUT_DEVICE_DIGITAL_MIC1   ((uint32_t)0x00000010)
#define INPUT_DEVICE_DIGITAL_MIC2   ((uint32_t)0x00000020)
#define INPUT_DEVICE_DIGITAL_MIC   ((uint32_t)(INPUT_DEVICE_DIGITAL_MIC1 | INPUT_DEVICE_DIGITAL_MIC2))
#define DFSDM_MIC_NUMBER   ((uint32_t)2)
#define AUDIO_IN_INTERFACE_SAI   ((uint16_t)0)
#define AUDIO_IN_INTERFACE_PDM   ((uint16_t)1)
#define AUDIO_IN_INTERFACE_DFSDM   ((uint16_t)2)

Define Documentation

#define AUDIO_DFSDM_DMAx_MIC1_IRQHandler   DMA2_Stream0_IRQHandler

Definition at line 213 of file stm32h743i_eval_audio.h.

#define AUDIO_DFSDM_DMAx_MIC2_IRQHandler   DMA2_Stream5_IRQHandler

Definition at line 214 of file stm32h743i_eval_audio.h.

#define AUDIO_DFSDMx_CKOUT_DMIC_AF   GPIO_AF6_DFSDM1

Definition at line 196 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 195 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspInit().

Definition at line 194 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_CKOUT_PIN   GPIO_PIN_2

Definition at line 193 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_CLK_ENABLE ( )    __HAL_RCC_DFSDM1_CLK_ENABLE()

Definition at line 192 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 203 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_WORD

Definition at line 211 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MIC1_IRQ   DMA2_Stream0_IRQn

Definition at line 208 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MIC1_REQUEST   DMA_REQUEST_DFSDM1_FLT0

Definition at line 205 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MIC1_STREAM   DMA2_Stream0

Definition at line 204 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MIC2_IRQ   DMA2_Stream5_IRQn

Definition at line 209 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MIC2_REQUEST   DMA_REQUEST_DFSDM1_FLT1

Definition at line 207 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_MIC2_STREAM   DMA2_Stream5

Definition at line 206 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_WORD

Definition at line 210 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit().

#define AUDIO_DFSDMx_DMIC_AF   GPIO_AF3_DFSDM1

Definition at line 200 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_DMIC_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 199 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_DMIC_GPIO_PORT   GPIOC

Definition at line 198 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_DMIC_PIN   GPIO_PIN_3

Definition at line 197 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().

#define AUDIO_DFSDMx_MIC1_CHANNEL   DFSDM1_Channel1 /* MP34DT01TR microphone on PCB top side */

Definition at line 186 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define AUDIO_DFSDMx_MIC1_CHANNEL_FOR_FILTER   DFSDM_CHANNEL_1

Definition at line 188 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define AUDIO_DFSDMx_MIC1_FILTER   DFSDM1_Filter0 /* Common filter for MP34DT01TR microphone input */
#define AUDIO_DFSDMx_MIC2_CHANNEL   DFSDM1_Channel0 /* MP34DT01TR microphone on PCB top side */

Definition at line 187 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define AUDIO_DFSDMx_MIC2_CHANNEL_FOR_FILTER   DFSDM_CHANNEL_0

Definition at line 189 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_ConfigMicDefault().

#define AUDIO_DFSDMx_MIC2_FILTER   DFSDM1_Filter1 /* Common filter for MP34DT01TR microphone input */
#define AUDIO_IN_INT_GPIO_ENABLE ( )    __HAL_RCC_GPIOJ_CLK_ENABLE()

Definition at line 180 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_INT_GPIO_PIN   GPIO_PIN_12

Definition at line 182 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_INT_GPIO_PORT   GPIOJ

Definition at line 181 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_INT_IRQ   EXTI15_10_IRQn

Definition at line 183 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_INTERFACE_SAI   ((uint16_t)0)

Definition at line 283 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_InitEx().

#define AUDIO_IN_IRQ_PREPRIO   ((uint32_t)0x0F)

Definition at line 217 of file stm32h743i_eval_audio.h.

Referenced by DFSDMx_FilterMspInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx   SAI4_Block_A
#define AUDIO_IN_SAI_PDMx_CLK_DISABLE ( )    __HAL_RCC_SAI4_CLK_DISABLE()

Definition at line 222 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit().

#define AUDIO_IN_SAI_PDMx_CLK_ENABLE ( )    __HAL_RCC_SAI4_CLK_ENABLE()

Definition at line 221 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_CLK_IN_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 229 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_CLK_IN_PIN   GPIO_PIN_2

Definition at line 230 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_CLK_IN_PORT   GPIOE

Definition at line 231 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DATA_CLK_AF   GPIO_AF10_SAI4

Definition at line 235 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DATA_IN_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 232 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DATA_IN_PIN   GPIO_PIN_1

Definition at line 233 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DATA_IN_PORT   GPIOC

Definition at line 234 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DMAx_CLK_ENABLE ( )    __HAL_RCC_BDMA_CLK_ENABLE()

Definition at line 240 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DMAx_IRQ   BDMA_Channel1_IRQn

Definition at line 243 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DMAx_IRQHandler   BDMA_Channel1_IRQHandler

Definition at line 246 of file stm32h743i_eval_audio.h.

#define AUDIO_IN_SAI_PDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 245 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 244 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DMAx_REQUEST   BDMA_REQUEST_SAI4_A

Definition at line 242 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_DMAx_STREAM   BDMA_Channel1

Definition at line 241 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_FS_PIN   GPIO_PIN_4

Definition at line 226 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_FS_SCK_AF   GPIO_AF8_SAI4

Definition at line 223 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_FS_SCK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 224 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

Definition at line 225 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAI_PDMx_IRQ   SAI4_IRQn

Definition at line 237 of file stm32h743i_eval_audio.h.

#define AUDIO_IN_SAI_PDMx_IRQHandler   SAI4_IRQHandler

Definition at line 236 of file stm32h743i_eval_audio.h.

#define AUDIO_IN_SAI_PDMx_SCK_PIN   GPIO_PIN_5

Definition at line 227 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAIx   SAI1_Block_B
#define AUDIO_IN_SAIx_AF   GPIO_AF6_SAI1

Definition at line 165 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_CLK_DISABLE ( )    __HAL_RCC_SAI1_CLK_DISABLE()

Definition at line 164 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit().

#define AUDIO_IN_SAIx_CLK_ENABLE ( )    __HAL_RCC_SAI1_CLK_ENABLE()

Definition at line 163 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 171 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_DMAx_IRQ   DMA2_Stream4_IRQn

Definition at line 174 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAIx_DMAx_IRQHandler   DMA2_Stream4_IRQHandler

Definition at line 178 of file stm32h743i_eval_audio.h.

#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 176 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 175 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_B

Definition at line 173 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_DMAx_STREAM   DMA2_Stream4

Definition at line 172 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_SD_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 166 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspInit().

#define AUDIO_IN_SAIx_SD_GPIO_PORT   GPIOE

Definition at line 167 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_IN_SAIx_SD_PIN   GPIO_PIN_3

Definition at line 168 of file stm32h743i_eval_audio.h.

Referenced by SAIx_In_MspDeInit(), and SAIx_In_MspInit().

#define AUDIO_OUT_IRQ_PREPRIO   ((uint32_t)0x0E)

Definition at line 156 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_AF   GPIO_AF6_SAI1

Definition at line 135 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_CLK_DISABLE ( )    __HAL_RCC_SAI1_CLK_DISABLE()

Definition at line 134 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit().

#define AUDIO_OUT_SAIx_CLK_ENABLE ( )    __HAL_RCC_SAI1_CLK_ENABLE()

Definition at line 133 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 147 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_DMAx_IRQ   DMA2_Stream1_IRQn

Definition at line 150 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_DMAx_IRQHandler   DMA2_Stream1_IRQHandler

Definition at line 153 of file stm32h743i_eval_audio.h.

#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 152 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 151 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_A

Definition at line 149 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_DMAx_STREAM   DMA2_Stream1

Definition at line 148 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_FS_PIN   GPIO_PIN_4

Definition at line 142 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_MCLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 137 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT   GPIOE

Definition at line 138 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_MCLK_PIN   GPIO_PIN_2

Definition at line 139 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_SCK_PIN   GPIO_PIN_5

Definition at line 143 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_SD_FS_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 140 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspInit().

Definition at line 141 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_OUT_SAIx_SD_PIN   GPIO_PIN_6

Definition at line 144 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().

#define AUDIO_TIMEOUT   ((uint8_t)2)

Definition at line 256 of file stm32h743i_eval_audio.h.

#define AUDIODATA_SIZE   ((uint32_t)2) /* 16-bits audio data size */

Definition at line 251 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_Play().

#define DEFAULT_AUDIO_IN_BIT_RESOLUTION   ((uint8_t)16)

Definition at line 260 of file stm32h743i_eval_audio.h.

#define DEFAULT_AUDIO_IN_CHANNEL_NBR   ((uint8_t)2)

Definition at line 261 of file stm32h743i_eval_audio.h.

#define DEFAULT_AUDIO_IN_VOLUME   ((uint16_t)64)

Definition at line 262 of file stm32h743i_eval_audio.h.

#define INPUT_DEVICE_ANALOG_MIC   ((uint32_t)0x00000001)

Definition at line 275 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_Pause(), and BSP_AUDIO_IN_Resume().

#define OUTPUT_DEVICE_HEADPHONE1   OUTPUT_DEVICE_HEADPHONE

Definition at line 268 of file stm32h743i_eval_audio.h.

#define OUTPUT_DEVICE_HEADPHONE2   OUTPUT_DEVICE_SPEAKER /* Headphone2 is connected to Speaker output of the wm8994 */

Definition at line 269 of file stm32h743i_eval_audio.h.

Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by   doxygen 1.7.6.1