STM32F413H-Discovery BSP User Manual
|
Defines | |
#define | AUDIO_OUT_I2Sx SPI2 |
#define | AUDIO_OUT_I2Sx_CLK_ENABLE() __HAL_RCC_SPI2_CLK_ENABLE() |
#define | AUDIO_OUT_I2Sx_CLK_DISABLE() __HAL_RCC_SPI2_CLK_DISABLE() |
#define | AUDIO_OUT_I2Sx_MCK_PIN GPIO_PIN_3 |
#define | AUDIO_OUT_I2Sx_MCK_GPIO_PORT GPIOA |
#define | AUDIO_OUT_I2Sx_MCK_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | AUDIO_OUT_I2Sx_MCK_GPIO_CLK_DISABLE() __HAL_RCC_GPIOA_CLK_DISABLE() |
#define | AUDIO_OUT_I2Sx_MCK_AF GPIO_AF5_SPI2 |
#define | AUDIO_OUT_I2Sx_SCK_PIN GPIO_PIN_3 |
#define | AUDIO_OUT_I2Sx_SCK_GPIO_PORT GPIOD |
#define | AUDIO_OUT_I2Sx_SCK_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | AUDIO_OUT_I2Sx_SCK_GPIO_CLK_DISABLE() __HAL_RCC_GPIOD_CLK_DISABLE() |
#define | AUDIO_OUT_I2Sx_SCK_AF GPIO_AF5_SPI2 |
#define | AUDIO_OUT_I2Sx_WS_PIN GPIO_PIN_9 |
#define | AUDIO_OUT_I2Sx_WS_GPIO_PORT GPIOB |
#define | AUDIO_OUT_I2Sx_WS_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | AUDIO_OUT_I2Sx_WS_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE() |
#define | AUDIO_OUT_I2Sx_WS_AF GPIO_AF5_SPI2 |
#define | AUDIO_OUT_I2Sx_SD_PIN GPIO_PIN_3 |
#define | AUDIO_OUT_I2Sx_SD_GPIO_PORT GPIOC |
#define | AUDIO_OUT_I2Sx_SD_GPIO_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() |
#define | AUDIO_OUT_I2Sx_SD_GPIO_CLK_DISABLE() __HAL_RCC_GPIOC_CLK_DISABLE() |
#define | AUDIO_OUT_I2Sx_SD_AF GPIO_AF5_SPI2 |
#define | AUDIO_OUT_I2Sx_DMAx_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE() |
#define | AUDIO_OUT_I2Sx_DMAx_CLK_DISABLE() __HAL_RCC_DMA1_CLK_DISABLE() |
#define | AUDIO_OUT_I2Sx_DMAx_STREAM DMA1_Stream4 |
#define | AUDIO_OUT_I2Sx_DMAx_CHANNEL DMA_CHANNEL_0 |
#define | AUDIO_OUT_I2Sx_DMAx_IRQ DMA1_Stream4_IRQn |
#define | AUDIO_OUT_I2Sx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
#define | AUDIO_OUT_I2Sx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
#define | DMA_MAX_SIZE 0xFFFF |
#define | AUDIO_OUT_I2Sx_DMAx_IRQHandler DMA1_Stream4_IRQHandler |
#define | AUDIO_OUT_IRQ_PREPRIO ((uint32_t)0x0E) /* Select the preemption priority level(0 is the highest) */ |
#define | AUDIO_DFSDMx_MIC1_CHANNEL DFSDM1_Channel1 /* MP34DT01TR U1 microphone on PCB top side */ |
#define | AUDIO_DFSDMx_MIC2_CHANNEL DFSDM2_Channel1 /* MP34DT01TR U2 microphone on PCB top side */ |
#define | AUDIO_DFSDMx_MIC3_CHANNEL DFSDM2_Channel0 /* MP34DT01TR U3 microphone on PCB top side */ |
#define | AUDIO_DFSDMx_MIC4_CHANNEL DFSDM2_Channel7 /* MP34DT01TR U4 microphone on PCB top side */ |
#define | AUDIO_DFSDMx_MIC5_CHANNEL DFSDM2_Channel6 /* MP34DT01TR U5 microphone on PCB top side */ |
#define | AUDIO_DFSDMx_MIC1_CHANNEL_FOR_FILTER DFSDM_CHANNEL_1 |
#define | AUDIO_DFSDMx_MIC2_CHANNEL_FOR_FILTER DFSDM_CHANNEL_1 |
#define | AUDIO_DFSDMx_MIC3_CHANNEL_FOR_FILTER DFSDM_CHANNEL_0 |
#define | AUDIO_DFSDMx_MIC4_CHANNEL_FOR_FILTER DFSDM_CHANNEL_7 |
#define | AUDIO_DFSDMx_MIC5_CHANNEL_FOR_FILTER DFSDM_CHANNEL_6 |
#define | AUDIO_DFSDMx_MIC1_FILTER DFSDM1_Filter0 /* Common MIC1 filter for MP34DT01TR (U1) microphone input */ |
#define | AUDIO_DFSDMx_MIC2_FILTER DFSDM2_Filter0 /* Common MIC2 filter for MP34DT01TR(U2) microphone input */ |
#define | AUDIO_DFSDMx_MIC3_FILTER DFSDM2_Filter1 /* Common MIC2 filter for MP34DT01TR(U3) microphone input */ |
#define | AUDIO_DFSDMx_MIC4_FILTER DFSDM2_Filter2 /* Common MIC2 filter for MP34DT01TR(U4) microphone input */ |
#define | AUDIO_DFSDMx_MIC5_FILTER DFSDM2_Filter3 /* Common MIC2 filter for MP34DT01TR(U5) microphone input */ |
#define | AUDIO_DFSDMx_MIC2_5_CLK_ENABLE() __HAL_RCC_DFSDM2_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC1_CLK_ENABLE() __HAL_RCC_DFSDM1_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC1_CKOUT_PIN GPIO_PIN_8 |
#define | AUDIO_DFSDMx_MIC1_CKOUT_DMIC_GPIO_PORT GPIOA |
#define | AUDIO_DFSDMx_MIC1_CKOUT_DMIC_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC1_CKOUT_DMIC_AF GPIO_AF6_DFSDM1 |
#define | AUDIO_DFSDMx_MIC1_DMIC_PIN GPIO_PIN_6 |
#define | AUDIO_DFSDMx_MIC1_DMIC_GPIO_PORT GPIOD |
#define | AUDIO_DFSDMx_MIC1_DMIC_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC1_DMIC_AF GPIO_AF6_DFSDM1 |
#define | AUDIO_DFSDMx_MIC2_5_CKOUT_PIN GPIO_PIN_2 |
#define | AUDIO_DFSDMx_MIC2_5_CKOUT_DMIC_GPIO_PORT GPIOD |
#define | AUDIO_DFSDMx_MIC2_5_CKOUT_DMIC_GPIO_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC2_5_CKOUT_DMIC_AF GPIO_AF3_DFSDM2 |
#define | AUDIO_DFSDMx_MIC23_DMIC_PIN GPIO_PIN_7 |
#define | AUDIO_DFSDMx_MIC23_DMIC_GPIO_PORT GPIOA |
#define | AUDIO_DFSDMx_MIC23_DMIC_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC23_DMIC_AF GPIO_AF7_DFSDM2 |
#define | AUDIO_DFSDMx_MIC45_DMIC_PIN GPIO_PIN_7 |
#define | AUDIO_DFSDMx_MIC45_DMIC_GPIO_PORT GPIOB |
#define | AUDIO_DFSDMx_MIC45_DMIC_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | AUDIO_DFSDMx_MIC45_DMIC_AF GPIO_AF6_DFSDM2 |
#define | AUDIO_DFSDMx_DMAx_CLK_ENABLE() __HAL_RCC_DMA2_CLK_ENABLE() |
#define | AUDIO_DFSDMx_DMAx_MIC1_STREAM DMA2_Stream6 |
#define | AUDIO_DFSDMx_DMAx_MIC1_CHANNEL DMA_CHANNEL_3 |
#define | AUDIO_DFSDMx_DMAx_MIC2_STREAM DMA2_Stream0 |
#define | AUDIO_DFSDMx_DMAx_MIC2_CHANNEL DMA_CHANNEL_8 |
#define | AUDIO_DFSDMx_DMAx_MIC3_STREAM DMA2_Stream1 |
#define | AUDIO_DFSDMx_DMAx_MIC3_CHANNEL DMA_CHANNEL_8 |
#define | AUDIO_DFSDMx_DMAx_MIC4_STREAM DMA2_Stream2 |
#define | AUDIO_DFSDMx_DMAx_MIC4_CHANNEL DMA_CHANNEL_8 |
#define | AUDIO_DFSDMx_DMAx_MIC5_STREAM DMA2_Stream7 |
#define | AUDIO_DFSDMx_DMAx_MIC5_CHANNEL DMA_CHANNEL_8 |
#define | AUDIO_DFSDMx_DMAx_MIC1_IRQ DMA2_Stream6_IRQn |
#define | AUDIO_DFSDMx_DMAx_MIC2_IRQ DMA2_Stream0_IRQn |
#define | AUDIO_DFSDMx_DMAx_MIC3_IRQ DMA2_Stream1_IRQn |
#define | AUDIO_DFSDMx_DMAx_MIC4_IRQ DMA2_Stream2_IRQn |
#define | AUDIO_DFSDMx_DMAx_MIC5_IRQ DMA2_Stream7_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_Stream6_IRQHandler |
#define | AUDIO_DFSDM_DMAx_MIC2_IRQHandler DMA2_Stream0_IRQHandler |
#define | AUDIO_DFSDM_DMAx_MIC3_IRQHandler DMA2_Stream1_IRQHandler |
#define | AUDIO_DFSDM_DMAx_MIC4_IRQHandler DMA2_Stream2_IRQHandler |
#define | AUDIO_DFSDM_DMAx_MIC5_IRQHandler DMA2_Stream7_IRQHandler |
#define | AUDIO_IN_IRQ_PREPRIO 0x0F /* Select the preemption priority level(0 is the highest) */ |
#define | AUDIO_IN_I2Sx SPI3 |
#define | AUDIO_IN_I2Sx_CLK_ENABLE() __HAL_RCC_SPI3_CLK_ENABLE() |
#define | AUDIO_IN_I2Sx_CLK_DISABLE() __HAL_RCC_SPI3_CLK_DISABLE() |
#define | AUDIO_IN_I2Sx_EXT_SD_PIN GPIO_PIN_4 |
#define | AUDIO_IN_I2Sx_EXT_SD_GPIO_PORT GPIOB |
#define | AUDIO_IN_I2Sx_EXT_SD_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | AUDIO_IN_I2Sx_EXT_SD_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE() |
#define | AUDIO_IN_I2Sx_EXT_SD_AF GPIO_AF7_SPI3 |
#define | AUDIO_IN_CODEC_INT_PIN GPIO_PIN_2 |
#define | AUDIO_IN_CODEC_INT_GPIO_PORT GPIOG |
#define | AUDIO_IN_CODEC_INT_GPIO_CLK_ENABLE() __HAL_RCC_GPIOG_CLK_ENABLE() |
#define | AUDIO_IN_CODEC_INT_GPIO_CLK_DISABLE() __HAL_RCC_GPIOG_CLK_DISABLE() |
#define | AUDIO_IN_CODEC_INT_IRQ EXTI2_IRQn |
#define | AUDIO_IN_I2Sx_DMAx_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE() |
#define | AUDIO_IN_I2Sx_DMAx_CLK_DISABLE() __HAL_RCC_DMA1_CLK_DISABLE() |
#define | AUDIO_IN_I2Sx_DMAx_STREAM DMA1_Stream0 |
#define | AUDIO_IN_I2Sx_DMAx_CHANNEL DMA_CHANNEL_3 |
#define | AUDIO_IN_I2Sx_DMAx_IRQ DMA1_Stream0_IRQn |
#define | AUDIO_IN_I2Sx_DMAx_IRQ DMA1_Stream0_IRQn |
#define | AUDIO_IN_I2Sx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
#define | AUDIO_IN_I2Sx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
#define | AUDIO_IN_I2Sx_DMAx_IRQHandler DMA1_Stream0_IRQHandler |
#define | AUDIODATA_SIZE 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_OUT_FREQ I2S_AUDIOFREQ_48K |
#define | DEFAULT_AUDIO_OUT_BIT_RESOLUTION ((uint8_t)16) |
#define | DEFAULT_AUDIO_OUT_CHANNEL_NBR ((uint8_t)2) /* Mono = 1, Stereo = 2 */ |
#define | DEFAULT_AUDIO_OUT_VOLUME ((uint16_t)64) |
#define | DEFAULT_AUDIO_IN_FREQ I2S_AUDIOFREQ_16K |
#define | DEFAULT_AUDIO_IN_BIT_RESOLUTION ((uint8_t)16) |
#define | DEFAULT_AUDIO_IN_CHANNEL_NBR ((uint8_t)2) /* Mono = 1, Stereo = 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_MIC3 ((uint32_t)0x00000040) |
#define | INPUT_DEVICE_DIGITAL_MIC4 ((uint32_t)0x00000080) |
#define | INPUT_DEVICE_DIGITAL_MIC5 ((uint32_t)0x00000100) |
#define | INPUT_DEVICE_DIGITAL_MIC ((uint32_t)(INPUT_DEVICE_DIGITAL_MIC1 | INPUT_DEVICE_DIGITAL_MIC2)) |
#define | INPUT_DEVICE_DIGITAL_MIC_ALL |
#define | DFSDM_MIC_NUMBER (5) |
Define Documentation
#define AUDIO_DFSDM_DMAx_MIC1_IRQHandler DMA2_Stream6_IRQHandler |
Definition at line 206 of file stm32f413h_discovery_audio.h.
#define AUDIO_DFSDM_DMAx_MIC2_IRQHandler DMA2_Stream0_IRQHandler |
Definition at line 207 of file stm32f413h_discovery_audio.h.
#define AUDIO_DFSDM_DMAx_MIC3_IRQHandler DMA2_Stream1_IRQHandler |
Definition at line 208 of file stm32f413h_discovery_audio.h.
#define AUDIO_DFSDM_DMAx_MIC4_IRQHandler DMA2_Stream2_IRQHandler |
Definition at line 209 of file stm32f413h_discovery_audio.h.
#define AUDIO_DFSDM_DMAx_MIC5_IRQHandler DMA2_Stream7_IRQHandler |
Definition at line 210 of file stm32f413h_discovery_audio.h.
#define AUDIO_DFSDMx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA2_CLK_ENABLE() |
Definition at line 186 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_WORD |
Definition at line 204 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC1_CHANNEL DMA_CHANNEL_3 |
Definition at line 188 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC1_IRQ DMA2_Stream6_IRQn |
Definition at line 197 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC1_STREAM DMA2_Stream6 |
Definition at line 187 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC2_CHANNEL DMA_CHANNEL_8 |
Definition at line 190 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC2_IRQ DMA2_Stream0_IRQn |
Definition at line 198 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC2_STREAM DMA2_Stream0 |
Definition at line 189 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC3_CHANNEL DMA_CHANNEL_8 |
Definition at line 192 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC3_IRQ DMA2_Stream1_IRQn |
Definition at line 199 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC3_STREAM DMA2_Stream1 |
Definition at line 191 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC4_CHANNEL DMA_CHANNEL_8 |
Definition at line 194 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC4_IRQ DMA2_Stream2_IRQn |
Definition at line 200 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC4_STREAM DMA2_Stream2 |
Definition at line 193 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC5_CHANNEL DMA_CHANNEL_8 |
Definition at line 196 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC5_IRQ DMA2_Stream7_IRQn |
Definition at line 201 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MIC5_STREAM DMA2_Stream7 |
Definition at line 195 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_WORD |
Definition at line 203 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit().
#define AUDIO_DFSDMx_MIC1_CHANNEL DFSDM1_Channel1 /* MP34DT01TR U1 microphone on PCB top side */ |
Definition at line 139 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC1_CHANNEL_FOR_FILTER DFSDM_CHANNEL_1 |
Definition at line 145 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC1_CKOUT_DMIC_AF GPIO_AF6_DFSDM1 |
Definition at line 163 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_CKOUT_DMIC_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 162 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_CKOUT_DMIC_GPIO_PORT GPIOA |
Definition at line 161 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_CKOUT_PIN GPIO_PIN_8 |
Definition at line 160 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_CLK_ENABLE | ( | ) | __HAL_RCC_DFSDM1_CLK_ENABLE() |
Definition at line 158 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_DMIC_AF GPIO_AF6_DFSDM1 |
Definition at line 168 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_DMIC_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 167 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_DMIC_GPIO_PORT GPIOD |
Definition at line 166 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_DMIC_PIN GPIO_PIN_6 |
Definition at line 165 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC1_FILTER DFSDM1_Filter0 /* Common MIC1 filter for MP34DT01TR (U1) microphone input */ |
Definition at line 151 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define AUDIO_DFSDMx_MIC23_DMIC_AF GPIO_AF7_DFSDM2 |
Definition at line 178 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC23_DMIC_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 177 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC23_DMIC_GPIO_PORT GPIOA |
Definition at line 176 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC23_DMIC_PIN GPIO_PIN_7 |
Definition at line 175 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC2_5_CKOUT_DMIC_AF GPIO_AF3_DFSDM2 |
Definition at line 173 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC2_5_CKOUT_DMIC_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 172 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC2_5_CKOUT_DMIC_GPIO_PORT GPIOD |
Definition at line 171 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC2_5_CKOUT_PIN GPIO_PIN_2 |
Definition at line 170 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC2_5_CLK_ENABLE | ( | ) | __HAL_RCC_DFSDM2_CLK_ENABLE() |
Definition at line 157 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC2_CHANNEL DFSDM2_Channel1 /* MP34DT01TR U2 microphone on PCB top side */ |
Definition at line 140 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC2_CHANNEL_FOR_FILTER DFSDM_CHANNEL_1 |
Definition at line 146 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC2_FILTER DFSDM2_Filter0 /* Common MIC2 filter for MP34DT01TR(U2) microphone input */ |
Definition at line 152 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define AUDIO_DFSDMx_MIC3_CHANNEL DFSDM2_Channel0 /* MP34DT01TR U3 microphone on PCB top side */ |
Definition at line 141 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC3_CHANNEL_FOR_FILTER DFSDM_CHANNEL_0 |
Definition at line 147 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC3_FILTER DFSDM2_Filter1 /* Common MIC2 filter for MP34DT01TR(U3) microphone input */ |
Definition at line 153 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define AUDIO_DFSDMx_MIC45_DMIC_AF GPIO_AF6_DFSDM2 |
Definition at line 183 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC45_DMIC_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 182 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC45_DMIC_GPIO_PORT GPIOB |
Definition at line 181 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC45_DMIC_PIN GPIO_PIN_7 |
Definition at line 180 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_ChannelMspDeInit(), and DFSDMx_ChannelMspInit().
#define AUDIO_DFSDMx_MIC4_CHANNEL DFSDM2_Channel7 /* MP34DT01TR U4 microphone on PCB top side */ |
Definition at line 142 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC4_CHANNEL_FOR_FILTER DFSDM_CHANNEL_7 |
Definition at line 148 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC4_FILTER DFSDM2_Filter2 /* Common MIC2 filter for MP34DT01TR(U4) microphone input */ |
Definition at line 154 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define AUDIO_DFSDMx_MIC5_CHANNEL DFSDM2_Channel6 /* MP34DT01TR U5 microphone on PCB top side */ |
Definition at line 143 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC5_CHANNEL_FOR_FILTER DFSDM_CHANNEL_6 |
Definition at line 149 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault().
#define AUDIO_DFSDMx_MIC5_FILTER DFSDM2_Filter3 /* Common MIC2 filter for MP34DT01TR(U5) microphone input */ |
Definition at line 155 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define AUDIO_ERROR ((uint8_t)1) |
Definition at line 253 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_PauseEx(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_RecordEx(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_ResumeEx(), BSP_AUDIO_IN_Stop(), BSP_AUDIO_IN_StopEx(), BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), BSP_AUDIO_OUT_Stop(), and DFSDMx_DeInit().
#define AUDIO_IN_CODEC_INT_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOG_CLK_DISABLE() |
Definition at line 230 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_CODEC_INT_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOG_CLK_ENABLE() |
Definition at line 229 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_CODEC_INT_GPIO_PORT GPIOG |
Definition at line 228 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_CODEC_INT_IRQ EXTI2_IRQn |
Definition at line 231 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_CODEC_INT_PIN GPIO_PIN_2 |
Definition at line 227 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_I2Sx SPI3 |
Definition at line 217 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_InitEx(), I2Sx_In_DeInit(), I2Sx_In_Init(), I2Sx_In_MspDeInit(), and I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_CLK_DISABLE | ( | ) | __HAL_RCC_SPI3_CLK_DISABLE() |
Definition at line 219 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspDeInit().
#define AUDIO_IN_I2Sx_CLK_ENABLE | ( | ) | __HAL_RCC_SPI3_CLK_ENABLE() |
Definition at line 218 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_DMAx_CHANNEL DMA_CHANNEL_3 |
Definition at line 237 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_DMAx_CLK_DISABLE | ( | ) | __HAL_RCC_DMA1_CLK_DISABLE() |
Definition at line 235 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_I2Sx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA1_CLK_ENABLE() |
Definition at line 234 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_DMAx_IRQ DMA1_Stream0_IRQn |
Definition at line 243 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspDeInit(), and I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_DMAx_IRQ DMA1_Stream0_IRQn |
Definition at line 243 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_I2Sx_DMAx_IRQHandler DMA1_Stream0_IRQHandler |
Definition at line 242 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_I2Sx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 240 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 239 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_DMAx_STREAM DMA1_Stream0 |
Definition at line 236 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_EXT_SD_AF GPIO_AF7_SPI3 |
Definition at line 225 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_EXT_SD_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOB_CLK_DISABLE() |
Definition at line 224 of file stm32f413h_discovery_audio.h.
#define AUDIO_IN_I2Sx_EXT_SD_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 223 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_EXT_SD_GPIO_PORT GPIOB |
Definition at line 222 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspDeInit(), and I2Sx_In_MspInit().
#define AUDIO_IN_I2Sx_EXT_SD_PIN GPIO_PIN_4 |
Definition at line 221 of file stm32f413h_discovery_audio.h.
Referenced by I2Sx_In_MspDeInit(), and I2Sx_In_MspInit().
#define AUDIO_IN_IRQ_PREPRIO 0x0F /* Select the preemption priority level(0 is the highest) */ |
Definition at line 214 of file stm32f413h_discovery_audio.h.
Referenced by DFSDMx_FilterMspInit(), and I2Sx_In_MspInit().
#define AUDIO_OK ((uint8_t)0) |
Definition at line 252 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_AllocScratch(), BSP_AUDIO_IN_ClockConfig(), BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_PauseEx(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_RecordEx(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_ResumeEx(), BSP_AUDIO_IN_SetVolume(), BSP_AUDIO_IN_Stop(), BSP_AUDIO_IN_StopEx(), BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), BSP_AUDIO_OUT_Stop(), and DFSDMx_DeInit().
#define AUDIO_OUT_I2Sx SPI2 |
Definition at line 91 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_MspDeInit(), BSP_AUDIO_OUT_MspInit(), I2Sx_Out_DeInit(), and I2Sx_Out_Init().
#define AUDIO_OUT_I2Sx_CLK_DISABLE | ( | ) | __HAL_RCC_SPI2_CLK_DISABLE() |
Definition at line 93 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit().
#define AUDIO_OUT_I2Sx_CLK_ENABLE | ( | ) | __HAL_RCC_SPI2_CLK_ENABLE() |
Definition at line 92 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_DMAx_CHANNEL DMA_CHANNEL_0 |
Definition at line 123 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_DMAx_CLK_DISABLE | ( | ) | __HAL_RCC_DMA1_CLK_DISABLE() |
Definition at line 121 of file stm32f413h_discovery_audio.h.
#define AUDIO_OUT_I2Sx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA1_CLK_ENABLE() |
Definition at line 120 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_DMAx_IRQ DMA1_Stream4_IRQn |
Definition at line 124 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_DMAx_IRQHandler DMA1_Stream4_IRQHandler |
Definition at line 129 of file stm32f413h_discovery_audio.h.
#define AUDIO_OUT_I2Sx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 126 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 125 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_DMAx_STREAM DMA1_Stream4 |
Definition at line 122 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_MCK_AF GPIO_AF5_SPI2 |
Definition at line 99 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit(), and I2Sx_In_MspInit().
#define AUDIO_OUT_I2Sx_MCK_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 98 of file stm32f413h_discovery_audio.h.
#define AUDIO_OUT_I2Sx_MCK_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 97 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit(), and I2Sx_In_MspInit().
#define AUDIO_OUT_I2Sx_MCK_GPIO_PORT GPIOA |
Definition at line 96 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), BSP_AUDIO_OUT_MspInit(), I2Sx_In_MspDeInit(), and I2Sx_In_MspInit().
#define AUDIO_OUT_I2Sx_MCK_PIN GPIO_PIN_3 |
Definition at line 95 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), BSP_AUDIO_OUT_MspInit(), I2Sx_In_MspDeInit(), and I2Sx_In_MspInit().
#define AUDIO_OUT_I2Sx_SCK_AF GPIO_AF5_SPI2 |
Definition at line 105 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SCK_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOD_CLK_DISABLE() |
Definition at line 104 of file stm32f413h_discovery_audio.h.
#define AUDIO_OUT_I2Sx_SCK_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOD_CLK_ENABLE() |
Definition at line 103 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SCK_GPIO_PORT GPIOD |
Definition at line 102 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SCK_PIN GPIO_PIN_3 |
Definition at line 101 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SD_AF GPIO_AF5_SPI2 |
Definition at line 117 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SD_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOC_CLK_DISABLE() |
Definition at line 116 of file stm32f413h_discovery_audio.h.
#define AUDIO_OUT_I2Sx_SD_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 115 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SD_GPIO_PORT GPIOC |
Definition at line 114 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_SD_PIN GPIO_PIN_3 |
Definition at line 113 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_WS_AF GPIO_AF5_SPI2 |
Definition at line 111 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_WS_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOB_CLK_DISABLE() |
Definition at line 110 of file stm32f413h_discovery_audio.h.
#define AUDIO_OUT_I2Sx_WS_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 109 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_WS_GPIO_PORT GPIOB |
Definition at line 108 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_I2Sx_WS_PIN GPIO_PIN_9 |
Definition at line 107 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspDeInit(), and BSP_AUDIO_OUT_MspInit().
#define AUDIO_OUT_IRQ_PREPRIO ((uint32_t)0x0E) /* Select the preemption priority level(0 is the highest) */ |
Definition at line 132 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_MspInit().
#define AUDIO_TIMEOUT ((uint8_t)2) |
Definition at line 254 of file stm32f413h_discovery_audio.h.
#define AUDIODATA_SIZE 2 /* 16-bits audio data size */ |
Definition at line 249 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_OUT_Play().
#define DEFAULT_AUDIO_IN_BIT_RESOLUTION ((uint8_t)16) |
Definition at line 264 of file stm32f413h_discovery_audio.h.
#define DEFAULT_AUDIO_IN_CHANNEL_NBR ((uint8_t)2) /* Mono = 1, Stereo = 2 */ |
Definition at line 265 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_AllocScratch().
#define DEFAULT_AUDIO_IN_FREQ I2S_AUDIOFREQ_16K |
Definition at line 263 of file stm32f413h_discovery_audio.h.
#define DEFAULT_AUDIO_IN_VOLUME ((uint16_t)64) |
Definition at line 266 of file stm32f413h_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_BIT_RESOLUTION ((uint8_t)16) |
Definition at line 258 of file stm32f413h_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_CHANNEL_NBR ((uint8_t)2) /* Mono = 1, Stereo = 2 */ |
Definition at line 259 of file stm32f413h_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_FREQ I2S_AUDIOFREQ_48K |
Definition at line 257 of file stm32f413h_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_VOLUME ((uint16_t)64) |
Definition at line 260 of file stm32f413h_discovery_audio.h.
#define DFSDM_MIC_NUMBER (5) |
Definition at line 292 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_RecordEx(), DFSDMx_DeInit(), DFSDMx_FilterMspDeInit(), and DFSDMx_FilterMspInit().
#define DMA_MAX_SIZE 0xFFFF |
Definition at line 127 of file stm32f413h_discovery_audio.h.
#define INPUT_DEVICE_ANALOG_MIC ((uint32_t)0x00000001) |
Definition at line 280 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ClockConfig(), BSP_AUDIO_IN_DeInit(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_MspDeInit(), BSP_AUDIO_IN_MspInit(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_RecordEx(), BSP_AUDIO_IN_Resume(), and BSP_AUDIO_IN_Stop().
#define INPUT_DEVICE_DIGITAL_MIC ((uint32_t)(INPUT_DEVICE_DIGITAL_MIC1 | INPUT_DEVICE_DIGITAL_MIC2)) |
Definition at line 287 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_Init(), and BSP_AUDIO_IN_Record().
#define INPUT_DEVICE_DIGITAL_MIC1 ((uint32_t)0x00000010) |
Definition at line 282 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_PauseEx(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_RecordEx(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_ResumeEx(), BSP_AUDIO_IN_Stop(), BSP_AUDIO_IN_StopEx(), DFSDMx_ChannelMspDeInit(), DFSDMx_ChannelMspInit(), DFSDMx_FilterMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC2 ((uint32_t)0x00000020) |
Definition at line 283 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_RecordEx(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_Stop(), DFSDMx_ChannelMspDeInit(), DFSDMx_ChannelMspInit(), DFSDMx_FilterMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC3 ((uint32_t)0x00000040) |
Definition at line 284 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_RecordEx(), DFSDMx_ChannelMspDeInit(), DFSDMx_ChannelMspInit(), DFSDMx_FilterMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC4 ((uint32_t)0x00000080) |
Definition at line 285 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_RecordEx(), DFSDMx_ChannelMspDeInit(), DFSDMx_ChannelMspInit(), DFSDMx_FilterMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC5 ((uint32_t)0x00000100) |
Definition at line 286 of file stm32f413h_discovery_audio.h.
Referenced by BSP_AUDIO_IN_ConfigMicDefault(), BSP_AUDIO_IN_PauseEx(), BSP_AUDIO_IN_RecordEx(), BSP_AUDIO_IN_ResumeEx(), BSP_AUDIO_IN_StopEx(), DFSDMx_ChannelMspDeInit(), DFSDMx_ChannelMspInit(), DFSDMx_FilterMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC_ALL |
((uint32_t)(INPUT_DEVICE_DIGITAL_MIC1 | INPUT_DEVICE_DIGITAL_MIC2 |\ INPUT_DEVICE_DIGITAL_MIC3 | INPUT_DEVICE_DIGITAL_MIC4 |\ INPUT_DEVICE_DIGITAL_MIC5))
Definition at line 288 of file stm32f413h_discovery_audio.h.
#define OUTPUT_DEVICE_HEADPHONE1 OUTPUT_DEVICE_HEADPHONE |
Definition at line 273 of file stm32f413h_discovery_audio.h.
#define OUTPUT_DEVICE_HEADPHONE2 OUTPUT_DEVICE_SPEAKER /* Headphone2 is connected to Speaker output of the wm8994 */ |
Definition at line 274 of file stm32f413h_discovery_audio.h.
Generated on Thu Jan 26 2017 16:30:37 for STM32F413H-Discovery BSP User Manual by 1.7.6.1