STM32F413H-Discovery + 0/2 examples
CodeScope will show references to BSP_AUDIO_OUT_Init() from the following samples and libraries:
Examples
STM32F413H-Discovery
Demonstrations
Examples
 
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 stm32f413h_discovery_audio.c:203

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 2 libraries and example projects.

References

LocationText
stm32f413h_discovery_audio.c:203
uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq)
stm32f413h_discovery_audio.h:299
uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq);

Call Tree

Data read by BSP_AUDIO_OUT_Init()
Data written by BSP_AUDIO_OUT_Init()
BSP_AUDIO_OUT_Init()::ret
BSP_AUDIO_OUT_Init()::deviceid
BSP_AUDIO_OUT_Init()::buffer_fake
all items filtered out
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
uint16_t
uint32_t
all items filtered out