Modules | Macros
STM32F769I_DISCOVERY_AUDIO Exported Constants
Collaboration diagram for STM32F769I_DISCOVERY_AUDIO Exported Constants:

Modules

 BSP Audio Sample Rate
 

Macros

#define AUDIO_DFSDMx_BUTTOM_LEFT_CHANNEL   DFSDM_CHANNEL_5
 
#define AUDIO_DFSDMx_BUTTOM_LEFT_FILTER   DFSDM1_Filter2
 
#define AUDIO_DFSDMx_BUTTOM_RIGHT_CHANNEL   DFSDM_CHANNEL_4
 
#define AUDIO_DFSDMx_BUTTOM_RIGHT_FILTER   DFSDM1_Filter3
 
#define AUDIO_DFSDMx_CKOUT_AF   GPIO_AF3_DFSDM1
 
#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
 
#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_PORT   GPIOD
 
#define AUDIO_DFSDMx_CKOUT_PIN   GPIO_PIN_3
 
#define AUDIO_DFSDMx_CLK_ENABLE()   __HAL_RCC_DFSDM1_CLK_ENABLE()
 
#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQ   DMA2_Stream6_IRQn
 
#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQHandler   DMA2_Stream6_IRQHandler
 
#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_STREAM   DMA2_Stream6
 
#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQ   DMA2_Stream7_IRQn
 
#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQHandler   DMA2_Stream7_IRQHandler
 
#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_STREAM   DMA2_Stream7
 
#define AUDIO_DFSDMx_DMAx_CHANNEL   DMA_CHANNEL_8
 
#define AUDIO_DFSDMx_DMAx_CLK_ENABLE()   __HAL_RCC_DMA2_CLK_ENABLE()
 
#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_WORD
 
#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_WORD
 
#define AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQ   DMA2_Stream0_IRQn
 
#define AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQHandler   DMA2_Stream0_IRQHandler
 
#define AUDIO_DFSDMx_DMAx_TOP_LEFT_STREAM   DMA2_Stream0
 
#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQ   DMA2_Stream5_IRQn
 
#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQHandler   DMA2_Stream5_IRQHandler
 
#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_STREAM   DMA2_Stream5
 
#define AUDIO_DFSDMx_DMIC_DATIN1_PIN   GPIO_PIN_3
 
#define AUDIO_DFSDMx_DMIC_DATIN5_PIN   GPIO_PIN_11
 
#define AUDIO_DFSDMx_DMIC_DATIN_AF   GPIO_AF3_DFSDM1
 
#define AUDIO_DFSDMx_DMIC_DATIN_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
 
#define AUDIO_DFSDMx_DMIC_DATIN_GPIO_PORT   GPIOC
 
#define AUDIO_DFSDMx_TOP_LEFT_CHANNEL   DFSDM_CHANNEL_1
 
#define AUDIO_DFSDMx_TOP_LEFT_FILTER   DFSDM1_Filter0
 
#define AUDIO_DFSDMx_TOP_RIGHT_CHANNEL   DFSDM_CHANNEL_0
 
#define AUDIO_DFSDMx_TOP_RIGHT_FILTER   DFSDM1_Filter1
 
#define AUDIO_ERROR   ((uint8_t)1)
 
#define AUDIO_IN_INT_GPIO_ENABLE()   __HAL_RCC_GPIOJ_CLK_ENABLE()
 
#define AUDIO_IN_INT_GPIO_PIN   GPIO_PIN_12
 
#define AUDIO_IN_INT_GPIO_PORT   GPIOJ
 
#define AUDIO_IN_INT_IRQ   EXTI15_10_IRQn
 
#define AUDIO_IN_IRQ_PREPRIO   ((uint32_t)0x0F)
 
#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_CHANNEL   DMA_CHANNEL_1
 
#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_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD
 
#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD
 
#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_OK   ((uint8_t)0)
 
#define AUDIO_OUT_IRQ_PREPRIO   ((uint32_t)0x0E)
 
#define AUDIO_OUT_SAIx   SAI1_Block_A
 
#define AUDIO_OUT_SAIx_AF   GPIO_AF6_SAI1
 
#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_CHANNEL   DMA_CHANNEL_0
 
#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_STREAM   DMA2_Stream1
 
#define AUDIO_OUT_SAIx_FS_PIN   GPIO_PIN_4
 
#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_PIN   GPIO_PIN_5
 
#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_SD_PIN   GPIO_PIN_6
 
#define AUDIO_TIMEOUT   ((uint8_t)2)
 
#define AUDIODATA_SIZE   2 /* 16-bits audio data size */
 
#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 DEFAULT_AUDIO_IN_BIT_RESOLUTION   ((uint8_t)16)
 
#define DEFAULT_AUDIO_IN_CHANNEL_NBR   ((uint8_t)2)
 
#define DEFAULT_AUDIO_IN_FREQ   BSP_AUDIO_FREQUENCY_16K
 
#define DEFAULT_AUDIO_IN_VOLUME   ((uint16_t)64)
 
#define DMA_MAX_SZE   0xFFFF
 
#define INPUT_DEVICE_ANALOG_MIC   INPUT_DEVICE_INPUT_LINE_1
 
#define INPUT_DEVICE_DIGITAL_MIC   ((uint16_t)0)
 
#define OUTPUT_DEVICE_HEADPHONE1   OUTPUT_DEVICE_HEADPHONE
 
#define OUTPUT_DEVICE_HEADPHONE2   OUTPUT_DEVICE_SPEAKER /* Headphone2 is connected to Speaker output of the wm8994 */
 

Detailed Description

Macro Definition Documentation

◆ AUDIO_DFSDMx_BUTTOM_LEFT_CHANNEL

#define AUDIO_DFSDMx_BUTTOM_LEFT_CHANNEL   DFSDM_CHANNEL_5

Definition at line 165 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_BUTTOM_LEFT_FILTER

#define AUDIO_DFSDMx_BUTTOM_LEFT_FILTER   DFSDM1_Filter2

Definition at line 169 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_BUTTOM_RIGHT_CHANNEL

#define AUDIO_DFSDMx_BUTTOM_RIGHT_CHANNEL   DFSDM_CHANNEL_4

Definition at line 164 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_BUTTOM_RIGHT_FILTER

#define AUDIO_DFSDMx_BUTTOM_RIGHT_FILTER   DFSDM1_Filter3

Definition at line 170 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_CKOUT_AF

#define AUDIO_DFSDMx_CKOUT_AF   GPIO_AF3_DFSDM1

Definition at line 181 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_CKOUT_DMIC_GPIO_CLK_ENABLE

#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOD_CLK_ENABLE()

Definition at line 175 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_CKOUT_DMIC_GPIO_PORT

#define AUDIO_DFSDMx_CKOUT_DMIC_GPIO_PORT   GPIOD

Definition at line 174 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_CKOUT_PIN

#define AUDIO_DFSDMx_CKOUT_PIN   GPIO_PIN_3

Definition at line 173 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_CLK_ENABLE

#define AUDIO_DFSDMx_CLK_ENABLE ( )    __HAL_RCC_DFSDM1_CLK_ENABLE()

Definition at line 172 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQ

#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQ   DMA2_Stream6_IRQn

Definition at line 198 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQHandler

#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_IRQHandler   DMA2_Stream6_IRQHandler

Definition at line 199 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_STREAM

#define AUDIO_DFSDMx_DMAx_BUTTOM_LEFT_STREAM   DMA2_Stream6

Definition at line 197 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQ

#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQ   DMA2_Stream7_IRQn

Definition at line 202 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQHandler

#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_IRQHandler   DMA2_Stream7_IRQHandler

Definition at line 203 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_STREAM

#define AUDIO_DFSDMx_DMAx_BUTTOM_RIGHT_STREAM   DMA2_Stream7

Definition at line 201 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_CHANNEL

#define AUDIO_DFSDMx_DMAx_CHANNEL   DMA_CHANNEL_8

Definition at line 185 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_CLK_ENABLE

#define AUDIO_DFSDMx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 184 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE

#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_WORD

Definition at line 187 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE

#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_WORD

Definition at line 186 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQ

#define AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQ   DMA2_Stream0_IRQn

Definition at line 190 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQHandler

#define AUDIO_DFSDMx_DMAx_TOP_LEFT_IRQHandler   DMA2_Stream0_IRQHandler

Definition at line 191 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_TOP_LEFT_STREAM

#define AUDIO_DFSDMx_DMAx_TOP_LEFT_STREAM   DMA2_Stream0

Definition at line 189 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQ

#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQ   DMA2_Stream5_IRQn

Definition at line 194 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQHandler

#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_IRQHandler   DMA2_Stream5_IRQHandler

Definition at line 195 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMAx_TOP_RIGHT_STREAM

#define AUDIO_DFSDMx_DMAx_TOP_RIGHT_STREAM   DMA2_Stream5

Definition at line 193 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMIC_DATIN1_PIN

#define AUDIO_DFSDMx_DMIC_DATIN1_PIN   GPIO_PIN_3

Definition at line 176 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMIC_DATIN5_PIN

#define AUDIO_DFSDMx_DMIC_DATIN5_PIN   GPIO_PIN_11

Definition at line 177 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMIC_DATIN_AF

#define AUDIO_DFSDMx_DMIC_DATIN_AF   GPIO_AF3_DFSDM1

Definition at line 180 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMIC_DATIN_GPIO_CLK_ENABLE

#define AUDIO_DFSDMx_DMIC_DATIN_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOC_CLK_ENABLE()

Definition at line 179 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_DMIC_DATIN_GPIO_PORT

#define AUDIO_DFSDMx_DMIC_DATIN_GPIO_PORT   GPIOC

Definition at line 178 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_TOP_LEFT_CHANNEL

#define AUDIO_DFSDMx_TOP_LEFT_CHANNEL   DFSDM_CHANNEL_1

Definition at line 163 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_TOP_LEFT_FILTER

#define AUDIO_DFSDMx_TOP_LEFT_FILTER   DFSDM1_Filter0

Definition at line 167 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_TOP_RIGHT_CHANNEL

#define AUDIO_DFSDMx_TOP_RIGHT_CHANNEL   DFSDM_CHANNEL_0

Definition at line 162 of file stm32f769i_discovery_audio.h.

◆ AUDIO_DFSDMx_TOP_RIGHT_FILTER

#define AUDIO_DFSDMx_TOP_RIGHT_FILTER   DFSDM1_Filter1

Definition at line 168 of file stm32f769i_discovery_audio.h.

◆ AUDIO_ERROR

#define AUDIO_ERROR   ((uint8_t)1)

Definition at line 217 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_INT_GPIO_ENABLE

#define AUDIO_IN_INT_GPIO_ENABLE ( )    __HAL_RCC_GPIOJ_CLK_ENABLE()

Definition at line 156 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_INT_GPIO_PIN

#define AUDIO_IN_INT_GPIO_PIN   GPIO_PIN_12

Definition at line 158 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_INT_GPIO_PORT

#define AUDIO_IN_INT_GPIO_PORT   GPIOJ

Definition at line 157 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_INT_IRQ

#define AUDIO_IN_INT_IRQ   EXTI15_10_IRQn

Definition at line 159 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_IRQ_PREPRIO

#define AUDIO_IN_IRQ_PREPRIO   ((uint32_t)0x0F)

Definition at line 206 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx

#define AUDIO_IN_SAIx   SAI1_Block_B

Definition at line 140 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_AF

#define AUDIO_IN_SAIx_AF   GPIO_AF6_SAI1

Definition at line 143 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_CLK_DISABLE

#define AUDIO_IN_SAIx_CLK_DISABLE ( )    __HAL_RCC_SAI1_CLK_DISABLE()

Definition at line 142 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_CLK_ENABLE

#define AUDIO_IN_SAIx_CLK_ENABLE ( )    __HAL_RCC_SAI1_CLK_ENABLE()

Definition at line 141 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_CHANNEL

#define AUDIO_IN_SAIx_DMAx_CHANNEL   DMA_CHANNEL_1

Definition at line 151 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_CLK_ENABLE

#define AUDIO_IN_SAIx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 149 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_IRQ

#define AUDIO_IN_SAIx_DMAx_IRQ   DMA2_Stream4_IRQn

Definition at line 152 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE

#define AUDIO_IN_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 154 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE

#define AUDIO_IN_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 153 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_DMAx_STREAM

#define AUDIO_IN_SAIx_DMAx_STREAM   DMA2_Stream4

Definition at line 150 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_SD_ENABLE

#define AUDIO_IN_SAIx_SD_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 144 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_SD_GPIO_PORT

#define AUDIO_IN_SAIx_SD_GPIO_PORT   GPIOE

Definition at line 145 of file stm32f769i_discovery_audio.h.

◆ AUDIO_IN_SAIx_SD_PIN

#define AUDIO_IN_SAIx_SD_PIN   GPIO_PIN_3

Definition at line 146 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OK

#define AUDIO_OK   ((uint8_t)0)

Definition at line 216 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_IRQ_PREPRIO

#define AUDIO_OUT_IRQ_PREPRIO   ((uint32_t)0x0E)

Definition at line 134 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx

#define AUDIO_OUT_SAIx   SAI1_Block_A

Definition at line 108 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_AF

#define AUDIO_OUT_SAIx_AF   GPIO_AF6_SAI1

Definition at line 111 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_CLK_DISABLE

#define AUDIO_OUT_SAIx_CLK_DISABLE ( )    __HAL_RCC_SAI1_CLK_DISABLE()

Definition at line 110 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_CLK_ENABLE

#define AUDIO_OUT_SAIx_CLK_ENABLE ( )    __HAL_RCC_SAI1_CLK_ENABLE()

Definition at line 109 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_CHANNEL

#define AUDIO_OUT_SAIx_DMAx_CHANNEL   DMA_CHANNEL_0

Definition at line 125 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_CLK_ENABLE

#define AUDIO_OUT_SAIx_DMAx_CLK_ENABLE ( )    __HAL_RCC_DMA2_CLK_ENABLE()

Definition at line 123 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_IRQ

#define AUDIO_OUT_SAIx_DMAx_IRQ   DMA2_Stream1_IRQn

Definition at line 126 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_IRQHandler

#define AUDIO_OUT_SAIx_DMAx_IRQHandler   DMA2_Stream1_IRQHandler

Definition at line 131 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE

#define AUDIO_OUT_SAIx_DMAx_MEM_DATA_SIZE   DMA_MDATAALIGN_HALFWORD

Definition at line 128 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE

#define AUDIO_OUT_SAIx_DMAx_PERIPH_DATA_SIZE   DMA_PDATAALIGN_HALFWORD

Definition at line 127 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_DMAx_STREAM

#define AUDIO_OUT_SAIx_DMAx_STREAM   DMA2_Stream1

Definition at line 124 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_FS_PIN

#define AUDIO_OUT_SAIx_FS_PIN   GPIO_PIN_4

Definition at line 118 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_ENABLE

#define AUDIO_OUT_SAIx_MCLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 113 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_GPIO_PORT

#define AUDIO_OUT_SAIx_MCLK_GPIO_PORT   GPIOG

Definition at line 114 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_MCLK_PIN

#define AUDIO_OUT_SAIx_MCLK_PIN   GPIO_PIN_7

Definition at line 115 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SCK_PIN

#define AUDIO_OUT_SAIx_SCK_PIN   GPIO_PIN_5

Definition at line 119 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_FS_CLK_ENABLE

#define AUDIO_OUT_SAIx_SD_FS_CLK_ENABLE ( )    __HAL_RCC_GPIOE_CLK_ENABLE()

Definition at line 116 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_FS_SCK_GPIO_PORT

#define AUDIO_OUT_SAIx_SD_FS_SCK_GPIO_PORT   GPIOE

Definition at line 117 of file stm32f769i_discovery_audio.h.

◆ AUDIO_OUT_SAIx_SD_PIN

#define AUDIO_OUT_SAIx_SD_PIN   GPIO_PIN_6

Definition at line 120 of file stm32f769i_discovery_audio.h.

◆ AUDIO_TIMEOUT

#define AUDIO_TIMEOUT   ((uint8_t)2)

Definition at line 218 of file stm32f769i_discovery_audio.h.

◆ AUDIODATA_SIZE

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

Definition at line 213 of file stm32f769i_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 99 of file stm32f769i_discovery_audio.h.

◆ CODEC_AUDIOFRAME_SLOT_02

#define CODEC_AUDIOFRAME_SLOT_02   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2

Definition at line 102 of file stm32f769i_discovery_audio.h.

◆ CODEC_AUDIOFRAME_SLOT_13

#define CODEC_AUDIOFRAME_SLOT_13   SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3

Definition at line 104 of file stm32f769i_discovery_audio.h.

◆ DEFAULT_AUDIO_IN_BIT_RESOLUTION

#define DEFAULT_AUDIO_IN_BIT_RESOLUTION   ((uint8_t)16)

Definition at line 222 of file stm32f769i_discovery_audio.h.

◆ DEFAULT_AUDIO_IN_CHANNEL_NBR

#define DEFAULT_AUDIO_IN_CHANNEL_NBR   ((uint8_t)2)

Definition at line 223 of file stm32f769i_discovery_audio.h.

◆ DEFAULT_AUDIO_IN_FREQ

#define DEFAULT_AUDIO_IN_FREQ   BSP_AUDIO_FREQUENCY_16K

Definition at line 221 of file stm32f769i_discovery_audio.h.

◆ DEFAULT_AUDIO_IN_VOLUME

#define DEFAULT_AUDIO_IN_VOLUME   ((uint16_t)64)

Definition at line 224 of file stm32f769i_discovery_audio.h.

◆ DMA_MAX_SZE

#define DMA_MAX_SZE   0xFFFF

Definition at line 129 of file stm32f769i_discovery_audio.h.

◆ INPUT_DEVICE_ANALOG_MIC

#define INPUT_DEVICE_ANALOG_MIC   INPUT_DEVICE_INPUT_LINE_1

Definition at line 239 of file stm32f769i_discovery_audio.h.

◆ INPUT_DEVICE_DIGITAL_MIC

#define INPUT_DEVICE_DIGITAL_MIC   ((uint16_t)0)

Definition at line 237 of file stm32f769i_discovery_audio.h.

◆ OUTPUT_DEVICE_HEADPHONE1

#define OUTPUT_DEVICE_HEADPHONE1   OUTPUT_DEVICE_HEADPHONE

Definition at line 230 of file stm32f769i_discovery_audio.h.

◆ OUTPUT_DEVICE_HEADPHONE2

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

Definition at line 231 of file stm32f769i_discovery_audio.h.



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