STM32L4R9I-Discovery BSP User Manual
|
Modules | |
BSP Audio Out Option | |
BSP Audio Sample Rate | |
Defines | |
#define | DMA_MAX_SZE (uint32_t)0xFFFF |
#define | AUDIO_SAIx_PLL_DISABLE() HAL_RCCEx_DisablePLLSAI1() |
#define | AUDIODATA_SIZE 2 /* 16-bits audio data size */ |
#define | AUDIO_OK 0 |
#define | AUDIO_ERROR 1 |
#define | AUDIO_TIMEOUT 2 |
#define | DEFAULT_AUDIO_OUT_FREQ BSP_AUDIO_FREQUENCY_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)80) |
#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 80 |
#define | CODEC_RESET_DELAY 5 |
#define | INPUT_DEVICE_DIGITAL_MIC1 0x20 /* Left microphone */ |
#define | INPUT_DEVICE_DIGITAL_MIC2 0x40 /* Right microphone */ |
#define | INPUT_DEVICE_DIGITAL_MIC (INPUT_DEVICE_DIGITAL_MIC1 | INPUT_DEVICE_DIGITAL_MIC2) |
#define | INPUT_DEVICE_ANALOG_MIC INPUT_DEVICE_MIC1 |
Define Documentation
#define AUDIO_ERROR 1 |
Definition at line 121 of file stm32l4r9i_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_InitEx(), 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_OK 0 |
Definition at line 120 of file stm32l4r9i_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_InitEx(), 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_SAIx_PLL_DISABLE | ( | ) | HAL_RCCEx_DisablePLLSAI1() |
Definition at line 111 of file stm32l4r9i_discovery_audio.h.
Referenced by BSP_AUDIO_IN_DeInit(), and BSP_AUDIO_OUT_DeInit().
#define AUDIO_TIMEOUT 2 |
Definition at line 122 of file stm32l4r9i_discovery_audio.h.
#define AUDIODATA_SIZE 2 /* 16-bits audio data size */ |
Definition at line 117 of file stm32l4r9i_discovery_audio.h.
#define CODEC_RESET_DELAY 5 |
Definition at line 141 of file stm32l4r9i_discovery_audio.h.
#define DEFAULT_AUDIO_IN_BIT_RESOLUTION 16 |
Definition at line 132 of file stm32l4r9i_discovery_audio.h.
#define DEFAULT_AUDIO_IN_CHANNEL_NBR 1 /* Mono = 1, Stereo = 2 */ |
Definition at line 133 of file stm32l4r9i_discovery_audio.h.
Definition at line 131 of file stm32l4r9i_discovery_audio.h.
#define DEFAULT_AUDIO_IN_VOLUME 80 |
Definition at line 134 of file stm32l4r9i_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_BIT_RESOLUTION ((uint8_t)16) |
Definition at line 126 of file stm32l4r9i_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_CHANNEL_NBR ((uint8_t)2) /* Mono = 1, Stereo = 2 */ |
Definition at line 127 of file stm32l4r9i_discovery_audio.h.
Definition at line 125 of file stm32l4r9i_discovery_audio.h.
#define DEFAULT_AUDIO_OUT_VOLUME ((uint16_t)80) |
Definition at line 128 of file stm32l4r9i_discovery_audio.h.
#define DMA_MAX_SZE (uint32_t)0xFFFF |
Definition at line 108 of file stm32l4r9i_discovery_audio.h.
#define INPUT_DEVICE_ANALOG_MIC INPUT_DEVICE_MIC1 |
Definition at line 151 of file stm32l4r9i_discovery_audio.h.
Referenced by BSP_AUDIO_IN_DeInit(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_SetFrequency(), BSP_AUDIO_IN_Stop(), BSP_AUDIO_OUT_DeInit(), and BSP_AUDIO_OUT_Init().
Definition at line 149 of file stm32l4r9i_discovery_audio.h.
Referenced by BSP_AUDIO_IN_Init(), BSP_AUDIO_IN_InitEx(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC1 0x20 /* Left microphone */ |
Definition at line 147 of file stm32l4r9i_discovery_audio.h.
Referenced by AUDIO_DFSDMx_DeInit(), AUDIO_DFSDMx_Init(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_Stop(), HAL_DFSDM_ChannelMspDeInit(), HAL_DFSDM_ChannelMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
#define INPUT_DEVICE_DIGITAL_MIC2 0x40 /* Right microphone */ |
Definition at line 148 of file stm32l4r9i_discovery_audio.h.
Referenced by AUDIO_DFSDMx_DeInit(), AUDIO_DFSDMx_Init(), BSP_AUDIO_IN_InitEx(), BSP_AUDIO_IN_Pause(), BSP_AUDIO_IN_Record(), BSP_AUDIO_IN_Resume(), BSP_AUDIO_IN_Stop(), HAL_DFSDM_ChannelMspDeInit(), HAL_DFSDM_ChannelMspInit(), HAL_DFSDM_FilterMspInit(), HAL_DFSDM_FilterRegConvCpltCallback(), and HAL_DFSDM_FilterRegConvHalfCpltCallback().
Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by 1.7.6.1