STM32L476G-Discovery BSP User Manual
|
Modules | |
BSP Audio Out Option | |
BSP Audio Sample Rate | |
Defines | |
#define | AUDIO_SAIx SAI1_Block_A |
#define | AUDIO_SAIx_CLK_ENABLE() __HAL_RCC_SAI1_CLK_ENABLE() |
#define | AUDIO_SAIx_CLK_DISABLE() __HAL_RCC_SAI1_CLK_DISABLE() |
#define | AUDIO_SAIx_MCK_SCK_SD_FS_AF GPIO_AF13_SAI1 |
#define | AUDIO_SAIx_MCK_SCK_SD_FS_ENABLE() __HAL_RCC_GPIOE_CLK_ENABLE() |
#define | AUDIO_SAIx_MCK_SCK_SD_FS_DISABLE() __HAL_RCC_GPIOE_CLK_DISABLE() |
#define | AUDIO_SAIx_FS_PIN GPIO_PIN_4 |
#define | AUDIO_SAIx_SCK_PIN GPIO_PIN_5 |
#define | AUDIO_SAIx_SD_PIN GPIO_PIN_6 |
#define | AUDIO_SAIx_MCK_PIN GPIO_PIN_2 |
#define | AUDIO_SAIx_MCK_SCK_SD_FS_GPIO_PORT GPIOE |
#define | AUDIO_SAIx_DMAx_CLK_ENABLE() __HAL_RCC_DMA2_CLK_ENABLE() |
#define | AUDIO_SAIx_DMAx_CLK_DISABLE() __HAL_RCC_DMA2_CLK_DISABLE() |
#define | AUDIO_SAIx_DMAx_CHANNEL DMA2_Channel1 |
#define | AUDIO_SAIx_DMAx_IRQ DMA2_Channel1_IRQn |
#define | AUDIO_SAIx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
#define | AUDIO_SAIx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
#define | DMA_MAX_SZE (uint32_t)0xFFFF |
#define | AUDIO_SAIx_DMAx_IRQHandler DMA2_Channel1_IRQHandler |
#define | AUDIO_OUT_IRQ_PREPRIO 5 /* Select the preemption priority level(0 is the highest) */ |
#define | AUDIO_SAIx_PLL_DISABLE() HAL_RCCEx_DisablePLLSAI1() |
#define | AUDIO_DFSDMx_LEFT_CHANNEL DFSDM_Channel2 |
#define | AUDIO_DFSDMx_LEFT_FILTER DFSDM_Filter0 |
#define | AUDIO_DFSDMx_CLK_ENABLE() __HAL_RCC_DFSDM_CLK_ENABLE() |
#define | AUDIO_DFSDMx_CLK_DISABLE() __HAL_RCC_DFSDM_CLK_DISABLE() |
#define | AUDIO_DFSDMx_CKOUT_PIN GPIO_PIN_9 |
#define | AUDIO_DFSDMx_DMIC_DATIN_PIN GPIO_PIN_7 |
#define | AUDIO_DFSDMx_CKOUT_DMIC_DATIN_GPIO_PORT GPIOE |
#define | AUDIO_DFSDMx_CKOUT_DMIC_DATIN_GPIO_CLK_ENABLE() __HAL_RCC_GPIOE_CLK_ENABLE() |
#define | AUDIO_DFSDMx_CKOUT_DMIC_DATIN_GPIO_CLK_DISABLE() __HAL_RCC_GPIOE_CLK_DISABLE() |
#define | AUDIO_DFSDMx_CKOUT_DMIC_DATIN_AF GPIO_AF6_DFSDM |
#define | AUDIO_DFSDMx_DMAx_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE() |
#define | AUDIO_DFSDMx_DMAx_CLK_DISABLE() __HAL_RCC_DMA1_CLK_DISABLE() |
#define | AUDIO_DFSDMx_DMAx_LEFT_CHANNEL DMA1_Channel4 |
#define | AUDIO_DFSDMx_DMAx_LEFT_IRQ DMA1_Channel4_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_LEFT_IRQHandler DMA1_Channel4_IRQHandler |
#define | AUDIO_IN_IRQ_PREPRIO 6 /* Select the preemption priority level(0 is the highest) */ |
#define | AUDIODATA_SIZE 2 /* 16-bits audio data size */ |
#define | AUDIO_OK 0 |
#define | AUDIO_ERROR 1 |
#define | AUDIO_TIMEOUT 2 |
#define | DEFAULT_AUDIO_IN_FREQ BSP_AUDIO_FREQUENCY_16K |
#define | DEFAULT_AUDIO_IN_BIT_RESOLUTION 16 |
#define | DEFAULT_AUDIO_IN_CHANNEL_NBR 1 /* Mono = 1, Stereo = 2 */ |
#define | DEFAULT_AUDIO_IN_VOLUME 64 |
#define | CODEC_RESET_DELAY 5 |
Define Documentation
#define AUDIO_DFSDM_DMAx_LEFT_IRQHandler DMA1_Channel4_IRQHandler |
Definition at line 163 of file stm32l476g_discovery_audio.h.
#define AUDIO_DFSDMx_CKOUT_DMIC_DATIN_AF GPIO_AF6_DFSDM |
Definition at line 153 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_ChannelMspInit().
#define AUDIO_DFSDMx_CKOUT_DMIC_DATIN_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 152 of file stm32l476g_discovery_audio.h.
#define AUDIO_DFSDMx_CKOUT_DMIC_DATIN_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 151 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_ChannelMspDeInit(), and HAL_DFSDM_ChannelMspInit().
#define AUDIO_DFSDMx_CKOUT_DMIC_DATIN_GPIO_PORT GPIOE |
Definition at line 150 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_ChannelMspDeInit(), and HAL_DFSDM_ChannelMspInit().
#define AUDIO_DFSDMx_CKOUT_PIN GPIO_PIN_9 |
Definition at line 148 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_ChannelMspDeInit(), and HAL_DFSDM_ChannelMspInit().
#define AUDIO_DFSDMx_CLK_DISABLE | ( | ) | __HAL_RCC_DFSDM_CLK_DISABLE() |
Definition at line 147 of file stm32l476g_discovery_audio.h.
Referenced by AUDIO_DFSDMx_DeInit().
#define AUDIO_DFSDMx_CLK_ENABLE | ( | ) | __HAL_RCC_DFSDM_CLK_ENABLE() |
Definition at line 146 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_ChannelMspInit(), and HAL_DFSDM_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_CLK_DISABLE | ( | ) | __HAL_RCC_DMA1_CLK_DISABLE() |
Definition at line 157 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspDeInit().
#define AUDIO_DFSDMx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA1_CLK_ENABLE() |
Definition at line 156 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_LEFT_CHANNEL DMA1_Channel4 |
Definition at line 158 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_LEFT_IRQ DMA1_Channel4_IRQn |
Definition at line 159 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspDeInit(), and HAL_DFSDM_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_WORD |
Definition at line 161 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspInit().
#define AUDIO_DFSDMx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_WORD |
Definition at line 160 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspInit().
#define AUDIO_DFSDMx_DMIC_DATIN_PIN GPIO_PIN_7 |
Definition at line 149 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_ChannelMspDeInit(), and HAL_DFSDM_ChannelMspInit().
#define AUDIO_DFSDMx_LEFT_CHANNEL DFSDM_Channel2 |
Definition at line 144 of file stm32l476g_discovery_audio.h.
#define AUDIO_DFSDMx_LEFT_FILTER DFSDM_Filter0 |
Definition at line 145 of file stm32l476g_discovery_audio.h.
Referenced by AUDIO_DFSDMx_Init().
#define AUDIO_ERROR 1 |
Definition at line 176 of file stm32l476g_discovery_audio.h.
Referenced by AUDIO_DFSDMx_DeInit(), AUDIO_DFSDMx_Init(), AUDIO_SAIPLLConfig(), AUDIO_SAIx_DeInit(), AUDIO_SAIx_Init(), BSP_AUDIO_IN_DeInit(), BSP_AUDIO_IN_Init(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_SetFrequency(), BSP_AUDIO_IN_Stop(), BSP_AUDIO_OUT_ChangeBuffer(), BSP_AUDIO_OUT_DeInit(), BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetFrequency(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), and BSP_AUDIO_OUT_Stop().
#define AUDIO_IN_IRQ_PREPRIO 6 /* Select the preemption priority level(0 is the highest) */ |
Definition at line 166 of file stm32l476g_discovery_audio.h.
#define AUDIO_OK 0 |
Definition at line 175 of file stm32l476g_discovery_audio.h.
Referenced by AUDIO_DFSDMx_DeInit(), AUDIO_DFSDMx_Init(), AUDIO_SAIPLLConfig(), AUDIO_SAIx_DeInit(), AUDIO_SAIx_Init(), BSP_AUDIO_IN_DeInit(), BSP_AUDIO_IN_Init(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_SetFrequency(), BSP_AUDIO_IN_Stop(), BSP_AUDIO_OUT_ChangeBuffer(), BSP_AUDIO_OUT_DeInit(), BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetFrequency(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), and BSP_AUDIO_OUT_Stop().
#define AUDIO_OUT_IRQ_PREPRIO 5 /* Select the preemption priority level(0 is the highest) */ |
Definition at line 135 of file stm32l476g_discovery_audio.h.
Referenced by HAL_DFSDM_FilterMspInit(), and HAL_SAI_MspInit().
#define AUDIO_SAIx SAI1_Block_A |
Definition at line 110 of file stm32l476g_discovery_audio.h.
Referenced by AUDIO_SAIx_Init(), and HAL_SAI_MspInit().
#define AUDIO_SAIx_CLK_DISABLE | ( | ) | __HAL_RCC_SAI1_CLK_DISABLE() |
Definition at line 112 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit().
#define AUDIO_SAIx_CLK_ENABLE | ( | ) | __HAL_RCC_SAI1_CLK_ENABLE() |
Definition at line 111 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_DMAx_CHANNEL DMA2_Channel1 |
Definition at line 126 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_DMAx_CLK_DISABLE | ( | ) | __HAL_RCC_DMA2_CLK_DISABLE() |
Definition at line 125 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit().
#define AUDIO_SAIx_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA2_CLK_ENABLE() |
Definition at line 124 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_DMAx_IRQ DMA2_Channel1_IRQn |
Definition at line 127 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit(), and HAL_SAI_MspInit().
#define AUDIO_SAIx_DMAx_IRQHandler DMA2_Channel1_IRQHandler |
Definition at line 132 of file stm32l476g_discovery_audio.h.
#define AUDIO_SAIx_DMAx_MEM_DATA_SIZE DMA_MDATAALIGN_HALFWORD |
Definition at line 129 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_DMAx_PERIPH_DATA_SIZE DMA_PDATAALIGN_HALFWORD |
Definition at line 128 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_FS_PIN GPIO_PIN_4 |
Definition at line 117 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit(), and HAL_SAI_MspInit().
#define AUDIO_SAIx_MCK_PIN GPIO_PIN_2 |
Definition at line 120 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit(), and HAL_SAI_MspInit().
#define AUDIO_SAIx_MCK_SCK_SD_FS_AF GPIO_AF13_SAI1 |
Definition at line 113 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_MCK_SCK_SD_FS_DISABLE | ( | ) | __HAL_RCC_GPIOE_CLK_DISABLE() |
Definition at line 116 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit().
#define AUDIO_SAIx_MCK_SCK_SD_FS_ENABLE | ( | ) | __HAL_RCC_GPIOE_CLK_ENABLE() |
Definition at line 115 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspInit().
#define AUDIO_SAIx_MCK_SCK_SD_FS_GPIO_PORT GPIOE |
Definition at line 121 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit(), and HAL_SAI_MspInit().
#define AUDIO_SAIx_PLL_DISABLE | ( | ) | HAL_RCCEx_DisablePLLSAI1() |
Definition at line 138 of file stm32l476g_discovery_audio.h.
Referenced by AUDIO_DFSDMx_DeInit(), and AUDIO_SAIx_DeInit().
#define AUDIO_SAIx_SCK_PIN GPIO_PIN_5 |
Definition at line 118 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit(), and HAL_SAI_MspInit().
#define AUDIO_SAIx_SD_PIN GPIO_PIN_6 |
Definition at line 119 of file stm32l476g_discovery_audio.h.
Referenced by HAL_SAI_MspDeInit(), and HAL_SAI_MspInit().
#define AUDIO_TIMEOUT 2 |
Definition at line 177 of file stm32l476g_discovery_audio.h.
#define AUDIODATA_SIZE 2 /* 16-bits audio data size */ |
Definition at line 172 of file stm32l476g_discovery_audio.h.
#define CODEC_RESET_DELAY 5 |
Definition at line 190 of file stm32l476g_discovery_audio.h.
#define DEFAULT_AUDIO_IN_BIT_RESOLUTION 16 |
Definition at line 181 of file stm32l476g_discovery_audio.h.
#define DEFAULT_AUDIO_IN_CHANNEL_NBR 1 /* Mono = 1, Stereo = 2 */ |
Definition at line 182 of file stm32l476g_discovery_audio.h.
Referenced by BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_Resume(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
Definition at line 180 of file stm32l476g_discovery_audio.h.
#define DEFAULT_AUDIO_IN_VOLUME 64 |
Definition at line 183 of file stm32l476g_discovery_audio.h.
#define DMA_MAX_SZE (uint32_t)0xFFFF |
Definition at line 130 of file stm32l476g_discovery_audio.h.
Generated on Tue Jun 23 2015 17:15:46 for STM32L476G-Discovery BSP User Manual by 1.7.6.1