STM32F439xx HAL User Manual
Data Fields
SAI_FrameInitTypeDef Struct Reference

#include <stm32f4xx_hal_sai.h>

Data Fields

uint32_t FrameLength
uint32_t ActiveFrameLength
uint32_t FSDefinition
uint32_t FSPolarity
uint32_t FSOffset

Detailed Description

Definition at line 159 of file stm32f4xx_hal_sai.h.


Field Documentation

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

Definition at line 167 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_Init(), SAI_InitI2S(), and SAI_InitPCM().

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.

Definition at line 161 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_Init(), SAI_InitI2S(), and SAI_InitPCM().

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

Definition at line 172 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_Init(), SAI_InitI2S(), and SAI_InitPCM().

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

Definition at line 178 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_Init(), SAI_InitI2S(), and SAI_InitPCM().

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

Definition at line 175 of file stm32f4xx_hal_sai.h.

Referenced by HAL_SAI_Init(), SAI_InitI2S(), and SAI_InitPCM().


The documentation for this struct was generated from the following file: