HAL
SAI_InitTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...

SAI_InitTypeDef struct

SAI Init Structure definition

Syntax

typedef struct {   uint32_t AudioMode;              uint32_t Synchro;                uint32_t SynchroExt;             uint32_t OutputDrive;            uint32_t NoDivider;              uint32_t FIFOThreshold;          uint32_t ClockSource;            uint32_t AudioFrequency;         uint32_t Mckdiv;                 uint32_t MonoStereoMode;         uint32_t CompandingMode;         uint32_t TriState;               uint32_t Protocol;           uint32_t DataSize;           uint32_t FirstBit;           uint32_t ClockStrobing;    } SAI_InitTypeDef;

Fields

AudioMode

Specifies the SAI Block audio Mode. This parameter can be a value of SAI_Block_Mode. Read more...

Synchro

Specifies SAI Block synchronization This parameter can be a value of SAI_Block_Synchronization. Read more...

SynchroExt

Specifies SAI external output synchronization, this setup is common for BlockA and BlockB This parameter can be a value of SAI_Block_SyncExt @note: If both audio blocks of same SAI are used, this parameter has to be set to the same value for each audio block. Read more...

OutputDrive

Specifies when SAI Block outputs are driven. This parameter can be a value of SAI_Block_Output_Drive. Read more...

NoDivider

Specifies whether master clock will be divided or not. This parameter can be a value of SAI_Block_NoDivider. Read more...

FIFOThreshold

Specifies SAI Block FIFO threshold. This parameter can be a value of SAI_Block_Fifo_Threshold. Read more...

ClockSource

Specifies the SAI Block x Clock source. This parameter is not used for STM32F446xx devices. Read more...

AudioFrequency

Specifies the audio frequency sampling. This parameter can be a value of SAI_Audio_Frequency. Read more...

Mckdiv

Specifies the master clock divider. This parameter must be a number between Min_Data = 0 and Max_Data = 15. Read more...

MonoStereoMode

Specifies if the mono or stereo mode is selected. This parameter can be a value of SAI_Mono_Stereo_Mode. Read more...

CompandingMode

Specifies the companding mode type. This parameter can be a value of SAI_Block_Companding_Mode. Read more...

TriState

Specifies the companding mode type. This parameter can be a value of SAI_TRIState_Management. Read more...

Protocol

Specifies the SAI Block protocol. This parameter can be a value of SAI_Block_Protocol. Read more...

DataSize

Specifies the SAI Block data size. This parameter can be a value of SAI_Block_Data_Size. Read more...

FirstBit

Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of SAI_Block_MSB_LSB_transmission. Read more...

ClockStrobing

Specifies the SAI Block clock strobing edge sensitivity. This parameter can be a value of SAI_Block_Clock_Strobing. Read more...

Type Use

Variables of SAI_InitTypeDef type
all items filtered out
SAI_InitTypeDef
all items filtered out
SAI_InitTypeDef
all items filtered out