#define AUDIO_FREQUENCY_11K 11025U |
Definition at line 151 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_16K 16000U |
Definition at line 150 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_176K 176400U |
Definition at line 143 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_192K 192000U |
Definition at line 142 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_22K 22050U |
Definition at line 149 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_32K 32000U |
Definition at line 148 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_44K 44100U |
Definition at line 147 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_48K 48000U |
Definition at line 146 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_88K 88200U |
Definition at line 145 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_8K 8000U |
Definition at line 152 of file stm32h747i_discovery_audio.h.
#define AUDIO_FREQUENCY_96K 96000U |
Definition at line 144 of file stm32h747i_discovery_audio.h.
#define AUDIO_I2C_ADDRESS 0x34U |
Definition at line 136 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_DEVICE_ANALOG_MIC 0x00U |
Definition at line 295 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_DEVICE_DIGITAL_MIC 0x10U |
Definition at line 297 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_INSTANCES_NBR 2U |
Definition at line 309 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_INT_GPIO_ENABLE | ( | ) | __HAL_RCC_GPIOJ_CLK_ENABLE() |
Definition at line 258 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_INT_GPIO_PIN GPIO_PIN_15 |
Definition at line 260 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_INT_GPIO_PORT GPIOJ |
Definition at line 259 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_INT_IRQ EXTI15_10_IRQn |
Definition at line 261 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx SAI4_Block_A |
Definition at line 264 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_CLK_DISABLE | ( | ) | __HAL_RCC_SAI4_CLK_DISABLE() |
Definition at line 266 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_CLK_ENABLE | ( | ) | __HAL_RCC_SAI4_CLK_ENABLE() |
Definition at line 265 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_CLK_IN_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 273 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_CLK_IN_PIN GPIO_PIN_2 |
Definition at line 274 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_CLK_IN_PORT GPIOE |
Definition at line 275 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DATA_CLK_AF GPIO_AF10_SAI4 |
Definition at line 279 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DATA_IN_ENABLE | ( | ) | __HAL_RCC_GPIOC_CLK_ENABLE() |
Definition at line 276 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DATA_IN_PIN GPIO_PIN_1 |
Definition at line 277 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DATA_IN_PORT GPIOC |
Definition at line 278 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_BDMA_CLK_ENABLE() |
Definition at line 284 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_IRQ BDMA_Channel1_IRQn |
Definition at line 287 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_IRQHandler BDMA_Channel1_IRQHandler |
Definition at line 290 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 289 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 288 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_REQUEST BDMA_REQUEST_SAI4_A |
Definition at line 286 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_DMAx_STREAM BDMA_Channel1 |
Definition at line 285 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_FS_PIN GPIO_PIN_4 |
Definition at line 270 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_FS_SCK_AF GPIO_AF8_SAI4 |
Definition at line 267 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_FS_SCK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 268 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_FS_SCK_GPIO_PORT GPIOE |
Definition at line 269 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_IRQ SAI4_IRQn |
Definition at line 281 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_IRQHandler SAI4_IRQHandler |
Definition at line 280 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAI_PDMx_SCK_PIN GPIO_PIN_5 |
Definition at line 271 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx SAI1_Block_B |
Definition at line 240 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_AF GPIO_AF6_SAI1 |
Definition at line 243 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_CLK_DISABLE | ( | ) | __HAL_RCC_SAI1_CLK_DISABLE() |
Definition at line 242 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_CLK_ENABLE | ( | ) | __HAL_RCC_SAI1_CLK_ENABLE() |
Definition at line 241 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA2_CLK_ENABLE() |
Definition at line 249 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_IRQ DMA2_Stream4_IRQn |
Definition at line 252 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_IRQHandler DMA2_Stream4_IRQHandler |
Definition at line 256 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 254 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 253 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_REQUEST DMA_REQUEST_SAI1_B |
Definition at line 251 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_DMAx_STREAM DMA2_Stream4 |
Definition at line 250 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_SD_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 244 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_SD_GPIO_PORT GPIOE |
Definition at line 245 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_SAIx_SD_PIN GPIO_PIN_3 |
Definition at line 246 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_STATE_PAUSE 3U |
Definition at line 303 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_STATE_RECORDING 1U |
Definition at line 301 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_STATE_RESET 0U |
Definition at line 300 of file stm32h747i_discovery_audio.h.
#define AUDIO_IN_STATE_STOP 2U |
Definition at line 302 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_DEVICE_AUTO 4U |
Definition at line 163 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_DEVICE_HDMI 5U |
Definition at line 164 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_DEVICE_HEADPHONE 2U |
Definition at line 161 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_DEVICE_NONE 0U |
Definition at line 159 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_DEVICE_SPEAKER 1U |
Definition at line 160 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_DEVICE_SPK_HP 3U |
Definition at line 162 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_INSTANCES_NBR 2U |
Definition at line 139 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx SAI1_Block_A |
Definition at line 203 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_CLK_DISABLE | ( | ) | __HAL_RCC_SAI1_CLK_DISABLE() |
Definition at line 205 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_CLK_ENABLE | ( | ) | __HAL_RCC_SAI1_CLK_ENABLE() |
Definition at line 204 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA2_CLK_ENABLE() |
Definition at line 228 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_IRQ DMA2_Stream1_IRQn |
Definition at line 231 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_IRQHandler DMA2_Stream1_IRQHandler |
Definition at line 234 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 233 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 232 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_REQUEST DMA_REQUEST_SAI1_A |
Definition at line 230 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_DMAx_STREAM DMA2_Stream1 |
Definition at line 229 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_FS_AF GPIO_AF6_SAI1 |
Definition at line 225 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_FS_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 222 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_FS_GPIO_PORT GPIOE |
Definition at line 223 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_FS_PIN GPIO_PIN_4 |
Definition at line 224 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_MCLK_AF GPIO_AF6_SAI1 |
Definition at line 210 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_MCLK_ENABLE | ( | ) | __HAL_RCC_GPIOG_CLK_ENABLE() |
Definition at line 207 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT GPIOG |
Definition at line 208 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_MCLK_PIN GPIO_PIN_7 |
Definition at line 209 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SCK_AF GPIO_AF6_SAI1 |
Definition at line 215 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SCK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 212 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SCK_GPIO_PORT GPIOE |
Definition at line 213 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SCK_PIN GPIO_PIN_5 |
Definition at line 214 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SD_AF GPIO_AF6_SAI1 |
Definition at line 220 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SD_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 217 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SD_GPIO_PORT GPIOE |
Definition at line 218 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_SAIx_SD_PIN GPIO_PIN_6 |
Definition at line 219 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_STATE_PAUSE 3U |
Definition at line 174 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_STATE_PLAYING 1U |
Definition at line 172 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_STATE_RESET 0U |
Definition at line 171 of file stm32h747i_discovery_audio.h.
#define AUDIO_OUT_STATE_STOP 2U |
Definition at line 173 of file stm32h747i_discovery_audio.h.
#define AUDIO_RESOLUTION_16B 16U |
Definition at line 155 of file stm32h747i_discovery_audio.h.
#define AUDIO_RESOLUTION_32B 32U |
Definition at line 156 of file stm32h747i_discovery_audio.h.
#define AUDIO_VOLUME_INPUT 0U |
Definition at line 178 of file stm32h747i_discovery_audio.h.
#define AUDIO_VOLUME_OUTPUT 1U |
Definition at line 179 of file stm32h747i_discovery_audio.h.
#define BSP_AUDIO_MUTE_DISABLED 0U |
Definition at line 167 of file stm32h747i_discovery_audio.h.
#define BSP_AUDIO_MUTE_ENABLED 1U |
Definition at line 168 of file stm32h747i_discovery_audio.h.
#define CODEC_AUDIOFRAME_SLOT_0123 SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_2 | SAI_SLOTACTIVE_3 |
CODEC_AudioFrame_SLOT_TDMMode In W8994 codec the Audio frame contains 4 slots : TDM Mode TDM format : +---------------—|---------------—|-----------------—|----------------—+ | CODEC_SLOT0 Left | CODEC_SLOT1 Left | CODEC_SLOT0 Right | CODEC_SLOT1 Right | +---------------------------------------------------------------------------—+
Definition at line 196 of file stm32h747i_discovery_audio.h.
#define CODEC_AUDIOFRAME_SLOT_02 SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2 |
Definition at line 198 of file stm32h747i_discovery_audio.h.
#define CODEC_AUDIOFRAME_SLOT_13 SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3 |
Definition at line 200 of file stm32h747i_discovery_audio.h.
#define CODEC_MUTE_OFF 0U |
Definition at line 184 of file stm32h747i_discovery_audio.h.
#define CODEC_MUTE_ON 1U |
Definition at line 183 of file stm32h747i_discovery_audio.h.
#define CODEC_PDWN_SW 1U |
Definition at line 182 of file stm32h747i_discovery_audio.h.