STM324xG_EVAL + 0/2 examples
CodeScope will show references to BSP_AUDIO_OUT_SetOutputMode() from the following samples and libraries:
Drivers
Boards
Examples
STM324xG_EVAL
Examples
I2S
 
Symbols
loading...
Files
loading...

BSP_AUDIO_OUT_SetOutputMode() function

Switch dynamically (while audio file is played) the output target (speaker or headphone).

Syntax

uint8_t BSP_AUDIO_OUT_SetOutputMode(uint8_t Output);
Implemented in stm324xg_eval_audio.c:367

Arguments

Output

specifies the audio output target: OUTPUT_DEVICE_SPEAKER, OUTPUT_DEVICE_HEADPHONE, OUTPUT_DEVICE_BOTH or OUTPUT_DEVICE_AUTO

Return value

AUDIO_OK if correct communication, else wrong communication

Notes

This function modifies a global variable of the audio codec driver: OutputDev.

Examples

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

References

LocationText
stm324xg_eval_audio.c:367
uint8_t BSP_AUDIO_OUT_SetOutputMode(uint8_t Output)
stm324xg_eval_audio.h:119
uint8_t BSP_AUDIO_OUT_SetOutputMode(uint8_t Output);

Call Tree

Functions called by BSP_AUDIO_OUT_SetOutputMode()
BSP_AUDIO_OUT_SetOutputMode()
all items filtered out
Data read by BSP_AUDIO_OUT_SetOutputMode()
BSP_AUDIO_OUT_SetOutputMode()
Type of BSP_AUDIO_OUT_SetOutputMode()
BSP_AUDIO_OUT_SetOutputMode()
uint8_t
all items filtered out