STM32446E_EVAL + 0/5 examples
CodeScope will show references to BSP_AUDIO_OUT_Init() from the following samples and libraries:
Examples
STM32446E_EVAL
Demonstrations
Examples
SAI
Applications
Audio
USB_Device
 
Symbols
loading...
Files
loading...

BSP_AUDIO_OUT_Init() function

Configures the audio peripherals.

Syntax

uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice,     uint8_t Volume,     uint32_t AudioFreq);
Implemented in stm32446e_eval_audio.c:195

Arguments

OutputDevice

OUTPUT_DEVICE_SPEAKER, OUTPUT_DEVICE_HEADPHONE, or OUTPUT_DEVICE_BOTH.

Volume

Initial volume level (from 0 (Mute) to 100 (Max))

AudioFreq

Audio frequency used to play the audio stream.

Return value

AUDIO_OK if correct communication, else wrong communication

Notes

The I2S PLL input clock must be done in the user application.

Examples

BSP_AUDIO_OUT_Init() is referenced by 5 libraries and example projects.

References

LocationText
stm32446e_eval_audio.c:195
uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq)
stm32446e_eval_audio.h:228
uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq);

Call Tree

Functions called by BSP_AUDIO_OUT_Init()
BSP_AUDIO_OUT_Init()
AUDIO_DrvTypeDef::Init
AUDIO_DrvTypeDef::ReadID
AUDIO_DrvTypeDef::Reset
all items filtered out
Data read by BSP_AUDIO_OUT_Init()
Data written by BSP_AUDIO_OUT_Init()
BSP_AUDIO_OUT_Init()
BSP_AUDIO_OUT_Init()::ret
BSP_AUDIO_OUT_Init()::deviceid
all items filtered out
Type of BSP_AUDIO_OUT_Init()
BSP_AUDIO_OUT_Init()
uint8_t
uint32_t
all items filtered out