STM32F401-Discovery + 0/2 examples
CodeScope will show references to BSP_AUDIO_OUT_Init() from the following samples and libraries:
Examples
STM32F401-Discovery
Examples
Applications
Audio
 
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 stm32f401_discovery_audio.c:197

Arguments

OutputDevice

OUTPUT_DEVICE_SPEAKER, OUTPUT_DEVICE_HEADPHONE, OUTPUT_DEVICE_BOTH or OUTPUT_DEVICE_AUTO .

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

Examples

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

References

LocationText
stm32f401_discovery_audio.c:197
uint8_t BSP_AUDIO_OUT_Init(uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq)
stm32f401_discovery_audio.h:175
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()
BSP_AUDIO_OUT_Init()::ret
all items filtered out
Type of BSP_AUDIO_OUT_Init()
BSP_AUDIO_OUT_Init()
uint8_t
all items filtered out