STM32L4R9I-Discovery BSP User Manual: Exported Constants

STM32L4R9I-Discovery BSP

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

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.

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

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

Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by   doxygen 1.7.6.1