STM32H743I_EVAL BSP User Manual: Code audio frame slot in TDM mode.

STM32H743I_EVAL BSP

STM32H743I_EVAL BSP User Manual
Code audio frame slot in TDM mode.

Defines

#define CODEC_AUDIOFRAME_SLOT_0123   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_2 | SAI_SLOTACTIVE_3
 In W8994 codec the Audio frame contains 4 slots : TDM Mode TDM format : +------------------|------------------|--------------------|-------------------+ | CODEC_SLOT0 Left | CODEC_SLOT1 Left | CODEC_SLOT0 Right | CODEC_SLOT1 Right | +------------------------------------------------------------------------------+.
#define CODEC_AUDIOFRAME_SLOT_02   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2
#define CODEC_AUDIOFRAME_SLOT_13   SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3
#define CODEC_AUDIOFRAME_SLOT_0   SAI_SLOTACTIVE_0

Define Documentation

#define CODEC_AUDIOFRAME_SLOT_0   SAI_SLOTACTIVE_0

Definition at line 124 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_InitEx().

#define CODEC_AUDIOFRAME_SLOT_0123   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_2 | SAI_SLOTACTIVE_3

In W8994 codec the Audio frame contains 4 slots : TDM Mode TDM format : +------------------|------------------|--------------------|-------------------+ | CODEC_SLOT0 Left | CODEC_SLOT1 Left | CODEC_SLOT0 Right | CODEC_SLOT1 Right | +------------------------------------------------------------------------------+.

Definition at line 117 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_OUT_Init().

#define CODEC_AUDIOFRAME_SLOT_02   SAI_SLOTACTIVE_0 | SAI_SLOTACTIVE_2

Definition at line 120 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_OUT_Init().

#define CODEC_AUDIOFRAME_SLOT_13   SAI_SLOTACTIVE_1 | SAI_SLOTACTIVE_3

Definition at line 122 of file stm32h743i_eval_audio.h.

Referenced by BSP_AUDIO_IN_InitEx(), and BSP_AUDIO_IN_OUT_Init().

Generated on Wed Aug 23 2017 17:45:14 for STM32H743I_EVAL BSP User Manual by   doxygen 1.7.6.1