STM32L4xx_HAL_Driver  1.14.0
SAI Frame Structure definition

SAI Frame Init structure definition. More...

Data Structures

struct  SAI_FrameInitTypeDef
 

Detailed Description

SAI Frame Init structure definition.


Data Structure Documentation

◆ SAI_FrameInitTypeDef

struct SAI_FrameInitTypeDef

Definition at line 173 of file stm32l4xx_hal_sai.h.

Data Fields
uint32_t ActiveFrameLength

Specifies the Frame synchronization active level length. This Parameter specifies the length in number of bit clock (SCK + 1) of the active level of FS signal in audio frame. This parameter must be a number between Min_Data = 1 and Max_Data = 128

uint32_t FrameLength

Specifies the Frame length, the number of SCK clocks for each audio frame. This parameter must be a number between Min_Data = 8 and Max_Data = 256.

Note
If master clock MCLK_x pin is declared as an output, the frame length should be aligned to a number equal to power of 2 in order to keep in an audio frame, an integer number of MCLK pulses by bit Clock.
uint32_t FSDefinition

Specifies the Frame synchronization definition. This parameter can be a value of SAI Block FS Definition

uint32_t FSOffset

Specifies the Frame synchronization Offset. This parameter can be a value of SAI Block FS Offset

uint32_t FSPolarity

Specifies the Frame synchronization Polarity. This parameter can be a value of SAI Block FS Polarity