Macros
Exported Constants
Collaboration diagram for Exported Constants:

Macros

#define AUDIO_FREQUENCY_11K   11025U
 
#define AUDIO_FREQUENCY_16K   16000U
 
#define AUDIO_FREQUENCY_176K   176400U
 
#define AUDIO_FREQUENCY_192K   192000U
 
#define AUDIO_FREQUENCY_22K   22050U
 
#define AUDIO_FREQUENCY_32K   32000U
 
#define AUDIO_FREQUENCY_44K   44100U
 
#define AUDIO_FREQUENCY_48K   48000U
 
#define AUDIO_FREQUENCY_88K   88200U
 
#define AUDIO_FREQUENCY_8K   8000U
 
#define AUDIO_FREQUENCY_96K   96000U
 
#define AUDIO_I2C_ADDRESS   0x34U
 
#define AUDIO_IN_DEVICE_ANALOG_MIC   0x00U
 
#define AUDIO_IN_DEVICE_DIGITAL_MIC   0x10U
 
#define AUDIO_IN_INSTANCES_NBR   2U
 
#define AUDIO_IN_INT_GPIO_ENABLE()   __HAL_RCC_GPIOJ_CLK_ENABLE()
 
#define AUDIO_IN_INT_GPIO_PIN   GPIO_PIN_15
 
#define AUDIO_IN_INT_GPIO_PORT   GPIOJ
 
#define AUDIO_IN_INT_IRQ   EXTI15_10_IRQn
 
#define AUDIO_IN_SAI_PDMx   SAI4_Block_A
 
#define AUDIO_IN_SAI_PDMx_CLK_DISABLE()   __HAL_RCC_SAI4_CLK_DISABLE()
 
#define AUDIO_IN_SAI_PDMx_CLK_ENABLE()   __HAL_RCC_SAI4_CLK_ENABLE()
 
#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_CLK_AF   GPIO_AF10_SAI4
 
#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_DMAx_CLK_ENABLE()   __HAL_RCC_BDMA_CLK_ENABLE()
 
#define AUDIO_IN_SAI_PDMx_DMAx_IRQ   BDMA_Channel1_IRQn
 
#define AUDIO_IN_SAI_PDMx_DMAx_IRQHandler   BDMA_Channel1_IRQHandler
 
#define AUDIO_IN_SAI_PDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
 
#define AUDIO_IN_SAI_PDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
 
#define AUDIO_IN_SAI_PDMx_DMAx_REQUEST   BDMA_REQUEST_SAI4_A
 
#define AUDIO_IN_SAI_PDMx_DMAx_STREAM   BDMA_Channel1
 
#define AUDIO_IN_SAI_PDMx_FS_PIN   GPIO_PIN_4
 
#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_IRQ   SAI4_IRQn
 
#define AUDIO_IN_SAI_PDMx_IRQHandler   SAI4_IRQHandler
 
#define AUDIO_IN_SAI_PDMx_SCK_PIN   GPIO_PIN_5
 
#define AUDIO_IN_SAIx   SAI1_Block_B
 
#define AUDIO_IN_SAIx_AF   GPIO_AF6_SAI1
 
#define AUDIO_IN_SAIx_CLK_DISABLE()   __HAL_RCC_SAI1_CLK_DISABLE()
 
#define AUDIO_IN_SAIx_CLK_ENABLE()   __HAL_RCC_SAI1_CLK_ENABLE()
 
#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE()   __HAL_RCC_DMA2_CLK_ENABLE()
 
#define AUDIO_IN_SAIx_DMAx_IRQ   DMA2_Stream4_IRQn
 
#define AUDIO_IN_SAIx_DMAx_IRQHandler   DMA2_Stream4_IRQHandler
 
#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
 
#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
 
#define AUDIO_IN_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_B
 
#define AUDIO_IN_SAIx_DMAx_STREAM   DMA2_Stream4
 
#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_STATE_PAUSE   3U
 
#define AUDIO_IN_STATE_RECORDING   1U
 
#define AUDIO_IN_STATE_RESET   0U
 
#define AUDIO_IN_STATE_STOP   2U
 
#define AUDIO_OUT_DEVICE_AUTO   4U
 
#define AUDIO_OUT_DEVICE_HDMI   5U
 
#define AUDIO_OUT_DEVICE_HEADPHONE   2U
 
#define AUDIO_OUT_DEVICE_NONE   0U
 
#define AUDIO_OUT_DEVICE_SPEAKER   1U
 
#define AUDIO_OUT_DEVICE_SPK_HP   3U
 
#define AUDIO_OUT_INSTANCES_NBR   2U
 
#define AUDIO_OUT_SAIx   SAI1_Block_A
 
#define AUDIO_OUT_SAIx_CLK_DISABLE()   __HAL_RCC_SAI1_CLK_DISABLE()
 
#define AUDIO_OUT_SAIx_CLK_ENABLE()   __HAL_RCC_SAI1_CLK_ENABLE()
 
#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE()   __HAL_RCC_DMA2_CLK_ENABLE()
 
#define AUDIO_OUT_SAIx_DMAx_IRQ   DMA2_Stream1_IRQn
 
#define AUDIO_OUT_SAIx_DMAx_IRQHandler   DMA2_Stream1_IRQHandler
 
#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
 
#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
 
#define AUDIO_OUT_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_A
 
#define AUDIO_OUT_SAIx_DMAx_STREAM   DMA2_Stream1
 
#define AUDIO_OUT_SAIx_FS_AF   GPIO_AF6_SAI1
 
#define AUDIO_OUT_SAIx_FS_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
 
#define AUDIO_OUT_SAIx_FS_GPIO_PORT   GPIOE
 
#define AUDIO_OUT_SAIx_FS_PIN   GPIO_PIN_4
 
#define AUDIO_OUT_SAIx_MCLK_AF   GPIO_AF6_SAI1
 
#define AUDIO_OUT_SAIx_MCLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()
 
#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT   GPIOG
 
#define AUDIO_OUT_SAIx_MCLK_PIN   GPIO_PIN_7
 
#define AUDIO_OUT_SAIx_SCK_AF   GPIO_AF6_SAI1
 
#define AUDIO_OUT_SAIx_SCK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
 
#define AUDIO_OUT_SAIx_SCK_GPIO_PORT   GPIOE
 
#define AUDIO_OUT_SAIx_SCK_PIN   GPIO_PIN_5
 
#define AUDIO_OUT_SAIx_SD_AF   GPIO_AF6_SAI1
 
#define AUDIO_OUT_SAIx_SD_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
 
#define AUDIO_OUT_SAIx_SD_GPIO_PORT   GPIOE
 
#define AUDIO_OUT_SAIx_SD_PIN   GPIO_PIN_6
 
#define AUDIO_OUT_STATE_PAUSE   3U
 
#define AUDIO_OUT_STATE_PLAYING   1U
 
#define AUDIO_OUT_STATE_RESET   0U
 
#define AUDIO_OUT_STATE_STOP   2U
 
#define AUDIO_RESOLUTION_16B   16U
 
#define AUDIO_RESOLUTION_32B   32U
 
#define AUDIO_VOLUME_INPUT   0U
 
#define AUDIO_VOLUME_OUTPUT   1U
 
#define BSP_AUDIO_MUTE_DISABLED   0U
 
#define BSP_AUDIO_MUTE_ENABLED   1U
 
#define CODEC_AUDIOFRAME_SLOT_0123   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_2 | SAI_SLOTACTIVE_3
 
#define CODEC_AUDIOFRAME_SLOT_02   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2
 
#define CODEC_AUDIOFRAME_SLOT_13   SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3
 
#define CODEC_MUTE_OFF   0U
 
#define CODEC_MUTE_ON   1U
 
#define CODEC_PDWN_SW   1U
 

Detailed Description

Macro Definition Documentation

◆ AUDIO_FREQUENCY_11K

#define AUDIO_FREQUENCY_11K   11025U

Definition at line 151 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_16K

#define AUDIO_FREQUENCY_16K   16000U

Definition at line 150 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_176K

#define AUDIO_FREQUENCY_176K   176400U

Definition at line 143 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_192K

#define AUDIO_FREQUENCY_192K   192000U

Definition at line 142 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_22K

#define AUDIO_FREQUENCY_22K   22050U

Definition at line 149 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_32K

#define AUDIO_FREQUENCY_32K   32000U

Definition at line 148 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_44K

#define AUDIO_FREQUENCY_44K   44100U

Definition at line 147 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_48K

#define AUDIO_FREQUENCY_48K   48000U

Definition at line 146 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_88K

#define AUDIO_FREQUENCY_88K   88200U

Definition at line 145 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_8K

#define AUDIO_FREQUENCY_8K   8000U

Definition at line 152 of file stm32h747i_discovery_audio.h.

◆ AUDIO_FREQUENCY_96K

#define AUDIO_FREQUENCY_96K   96000U

Definition at line 144 of file stm32h747i_discovery_audio.h.

◆ AUDIO_I2C_ADDRESS

#define AUDIO_I2C_ADDRESS   0x34U

Definition at line 136 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_DEVICE_ANALOG_MIC

#define AUDIO_IN_DEVICE_ANALOG_MIC   0x00U

Definition at line 295 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_DEVICE_DIGITAL_MIC

#define AUDIO_IN_DEVICE_DIGITAL_MIC   0x10U

Definition at line 297 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_INSTANCES_NBR

#define AUDIO_IN_INSTANCES_NBR   2U

Definition at line 309 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_INT_GPIO_ENABLE

#define AUDIO_IN_INT_GPIO_ENABLE ( )    __HAL_RCC_GPIOJ_CLK_ENABLE()

Definition at line 258 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_INT_GPIO_PIN

#define AUDIO_IN_INT_GPIO_PIN   GPIO_PIN_15

Definition at line 260 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_INT_GPIO_PORT

#define AUDIO_IN_INT_GPIO_PORT   GPIOJ

Definition at line 259 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_INT_IRQ

#define AUDIO_IN_INT_IRQ   EXTI15_10_IRQn

Definition at line 261 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx

#define AUDIO_IN_SAI_PDMx   SAI4_Block_A

Definition at line 264 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_CLK_DISABLE

#define AUDIO_IN_SAI_PDMx_CLK_DISABLE ( )    __HAL_RCC_SAI4_CLK_DISABLE()

Definition at line 266 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_CLK_ENABLE

#define AUDIO_IN_SAI_PDMx_CLK_ENABLE ( )    __HAL_RCC_SAI4_CLK_ENABLE()

Definition at line 265 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_CLK_IN_ENABLE

#define AUDIO_IN_SAI_PDMx_CLK_IN_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 273 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_CLK_IN_PIN

#define AUDIO_IN_SAI_PDMx_CLK_IN_PIN   GPIO_PIN_2

Definition at line 274 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_CLK_IN_PORT

#define AUDIO_IN_SAI_PDMx_CLK_IN_PORT   GPIOE

Definition at line 275 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DATA_CLK_AF

#define AUDIO_IN_SAI_PDMx_DATA_CLK_AF   GPIO_AF10_SAI4

Definition at line 279 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DATA_IN_ENABLE

#define AUDIO_IN_SAI_PDMx_DATA_IN_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 276 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DATA_IN_PIN

#define AUDIO_IN_SAI_PDMx_DATA_IN_PIN   GPIO_PIN_1

Definition at line 277 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DATA_IN_PORT

#define AUDIO_IN_SAI_PDMx_DATA_IN_PORT   GPIOC

Definition at line 278 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_CLK_ENABLE

#define AUDIO_IN_SAI_PDMx_DMAx_CLK_ENABLE ( )    __HAL_RCC_BDMA_CLK_ENABLE()

Definition at line 284 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_IRQ

#define AUDIO_IN_SAI_PDMx_DMAx_IRQ   BDMA_Channel1_IRQn

Definition at line 287 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_IRQHandler

#define AUDIO_IN_SAI_PDMx_DMAx_IRQHandler   BDMA_Channel1_IRQHandler

Definition at line 290 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_MEM_DATA_SIZE

#define AUDIO_IN_SAI_PDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 289 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_PERIPH_DATA_SIZE

#define AUDIO_IN_SAI_PDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 288 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_REQUEST

#define AUDIO_IN_SAI_PDMx_DMAx_REQUEST   BDMA_REQUEST_SAI4_A

Definition at line 286 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_DMAx_STREAM

#define AUDIO_IN_SAI_PDMx_DMAx_STREAM   BDMA_Channel1

Definition at line 285 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_FS_PIN

#define AUDIO_IN_SAI_PDMx_FS_PIN   GPIO_PIN_4

Definition at line 270 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_FS_SCK_AF

#define AUDIO_IN_SAI_PDMx_FS_SCK_AF   GPIO_AF8_SAI4

Definition at line 267 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_FS_SCK_ENABLE

#define AUDIO_IN_SAI_PDMx_FS_SCK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 268 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_FS_SCK_GPIO_PORT

#define AUDIO_IN_SAI_PDMx_FS_SCK_GPIO_PORT   GPIOE

Definition at line 269 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_IRQ

#define AUDIO_IN_SAI_PDMx_IRQ   SAI4_IRQn

Definition at line 281 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_IRQHandler

#define AUDIO_IN_SAI_PDMx_IRQHandler   SAI4_IRQHandler

Definition at line 280 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAI_PDMx_SCK_PIN

#define AUDIO_IN_SAI_PDMx_SCK_PIN   GPIO_PIN_5

Definition at line 271 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx

#define AUDIO_IN_SAIx   SAI1_Block_B

Definition at line 240 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_AF

#define AUDIO_IN_SAIx_AF   GPIO_AF6_SAI1

Definition at line 243 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_CLK_DISABLE

#define AUDIO_IN_SAIx_CLK_DISABLE ( )    __HAL_RCC_SAI1_CLK_DISABLE()

Definition at line 242 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_CLK_ENABLE

#define AUDIO_IN_SAIx_CLK_ENABLE ( )    __HAL_RCC_SAI1_CLK_ENABLE()

Definition at line 241 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_CLK_ENABLE

#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 249 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_IRQ

#define AUDIO_IN_SAIx_DMAx_IRQ   DMA2_Stream4_IRQn

Definition at line 252 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_IRQHandler

#define AUDIO_IN_SAIx_DMAx_IRQHandler   DMA2_Stream4_IRQHandler

Definition at line 256 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE

#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 254 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE

#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 253 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_REQUEST

#define AUDIO_IN_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_B

Definition at line 251 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_STREAM

#define AUDIO_IN_SAIx_DMAx_STREAM   DMA2_Stream4

Definition at line 250 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_SD_ENABLE

#define AUDIO_IN_SAIx_SD_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 244 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_SD_GPIO_PORT

#define AUDIO_IN_SAIx_SD_GPIO_PORT   GPIOE

Definition at line 245 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_SAIx_SD_PIN

#define AUDIO_IN_SAIx_SD_PIN   GPIO_PIN_3

Definition at line 246 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_STATE_PAUSE

#define AUDIO_IN_STATE_PAUSE   3U

Definition at line 303 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_STATE_RECORDING

#define AUDIO_IN_STATE_RECORDING   1U

Definition at line 301 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_STATE_RESET

#define AUDIO_IN_STATE_RESET   0U

Definition at line 300 of file stm32h747i_discovery_audio.h.

◆ AUDIO_IN_STATE_STOP

#define AUDIO_IN_STATE_STOP   2U

Definition at line 302 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_DEVICE_AUTO

#define AUDIO_OUT_DEVICE_AUTO   4U

Definition at line 163 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_DEVICE_HDMI

#define AUDIO_OUT_DEVICE_HDMI   5U

Definition at line 164 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_DEVICE_HEADPHONE

#define AUDIO_OUT_DEVICE_HEADPHONE   2U

Definition at line 161 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_DEVICE_NONE

#define AUDIO_OUT_DEVICE_NONE   0U

Definition at line 159 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_DEVICE_SPEAKER

#define AUDIO_OUT_DEVICE_SPEAKER   1U

Definition at line 160 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_DEVICE_SPK_HP

#define AUDIO_OUT_DEVICE_SPK_HP   3U

Definition at line 162 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_INSTANCES_NBR

#define AUDIO_OUT_INSTANCES_NBR   2U

Definition at line 139 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx

#define AUDIO_OUT_SAIx   SAI1_Block_A

Definition at line 203 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_CLK_DISABLE

#define AUDIO_OUT_SAIx_CLK_DISABLE ( )    __HAL_RCC_SAI1_CLK_DISABLE()

Definition at line 205 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_CLK_ENABLE

#define AUDIO_OUT_SAIx_CLK_ENABLE ( )    __HAL_RCC_SAI1_CLK_ENABLE()

Definition at line 204 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_CLK_ENABLE

#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 228 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_IRQ

#define AUDIO_OUT_SAIx_DMAx_IRQ   DMA2_Stream1_IRQn

Definition at line 231 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_IRQHandler

#define AUDIO_OUT_SAIx_DMAx_IRQHandler   DMA2_Stream1_IRQHandler

Definition at line 234 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE

#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 233 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE

#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 232 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_REQUEST

#define AUDIO_OUT_SAIx_DMAx_REQUEST   DMA_REQUEST_SAI1_A

Definition at line 230 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_STREAM

#define AUDIO_OUT_SAIx_DMAx_STREAM   DMA2_Stream1

Definition at line 229 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_FS_AF

#define AUDIO_OUT_SAIx_FS_AF   GPIO_AF6_SAI1

Definition at line 225 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_FS_ENABLE

#define AUDIO_OUT_SAIx_FS_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 222 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_FS_GPIO_PORT

#define AUDIO_OUT_SAIx_FS_GPIO_PORT   GPIOE

Definition at line 223 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_FS_PIN

#define AUDIO_OUT_SAIx_FS_PIN   GPIO_PIN_4

Definition at line 224 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_AF

#define AUDIO_OUT_SAIx_MCLK_AF   GPIO_AF6_SAI1

Definition at line 210 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_ENABLE

#define AUDIO_OUT_SAIx_MCLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 207 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_GPIO_PORT

#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT   GPIOG

Definition at line 208 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_PIN

#define AUDIO_OUT_SAIx_MCLK_PIN   GPIO_PIN_7

Definition at line 209 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SCK_AF

#define AUDIO_OUT_SAIx_SCK_AF   GPIO_AF6_SAI1

Definition at line 215 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SCK_ENABLE

#define AUDIO_OUT_SAIx_SCK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 212 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SCK_GPIO_PORT

#define AUDIO_OUT_SAIx_SCK_GPIO_PORT   GPIOE

Definition at line 213 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SCK_PIN

#define AUDIO_OUT_SAIx_SCK_PIN   GPIO_PIN_5

Definition at line 214 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_AF

#define AUDIO_OUT_SAIx_SD_AF   GPIO_AF6_SAI1

Definition at line 220 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_ENABLE

#define AUDIO_OUT_SAIx_SD_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 217 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_GPIO_PORT

#define AUDIO_OUT_SAIx_SD_GPIO_PORT   GPIOE

Definition at line 218 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_PIN

#define AUDIO_OUT_SAIx_SD_PIN   GPIO_PIN_6

Definition at line 219 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_STATE_PAUSE

#define AUDIO_OUT_STATE_PAUSE   3U

Definition at line 174 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_STATE_PLAYING

#define AUDIO_OUT_STATE_PLAYING   1U

Definition at line 172 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_STATE_RESET

#define AUDIO_OUT_STATE_RESET   0U

Definition at line 171 of file stm32h747i_discovery_audio.h.

◆ AUDIO_OUT_STATE_STOP

#define AUDIO_OUT_STATE_STOP   2U

Definition at line 173 of file stm32h747i_discovery_audio.h.

◆ AUDIO_RESOLUTION_16B

#define AUDIO_RESOLUTION_16B   16U

Definition at line 155 of file stm32h747i_discovery_audio.h.

◆ AUDIO_RESOLUTION_32B

#define AUDIO_RESOLUTION_32B   32U

Definition at line 156 of file stm32h747i_discovery_audio.h.

◆ AUDIO_VOLUME_INPUT

#define AUDIO_VOLUME_INPUT   0U

Definition at line 178 of file stm32h747i_discovery_audio.h.

◆ AUDIO_VOLUME_OUTPUT

#define AUDIO_VOLUME_OUTPUT   1U

Definition at line 179 of file stm32h747i_discovery_audio.h.

◆ BSP_AUDIO_MUTE_DISABLED

#define BSP_AUDIO_MUTE_DISABLED   0U

Definition at line 167 of file stm32h747i_discovery_audio.h.

◆ BSP_AUDIO_MUTE_ENABLED

#define BSP_AUDIO_MUTE_ENABLED   1U

Definition at line 168 of file stm32h747i_discovery_audio.h.

◆ CODEC_AUDIOFRAME_SLOT_0123

#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.

◆ CODEC_AUDIOFRAME_SLOT_02

#define CODEC_AUDIOFRAME_SLOT_02   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2

Definition at line 198 of file stm32h747i_discovery_audio.h.

◆ CODEC_AUDIOFRAME_SLOT_13

#define CODEC_AUDIOFRAME_SLOT_13   SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3

Definition at line 200 of file stm32h747i_discovery_audio.h.

◆ CODEC_MUTE_OFF

#define CODEC_MUTE_OFF   0U

Definition at line 184 of file stm32h747i_discovery_audio.h.

◆ CODEC_MUTE_ON

#define CODEC_MUTE_ON   1U

Definition at line 183 of file stm32h747i_discovery_audio.h.

◆ CODEC_PDWN_SW

#define CODEC_PDWN_SW   1U

Definition at line 182 of file stm32h747i_discovery_audio.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:09