Public Attributes | List of all members

#include <stm32f7xx_hal_sai.h>

Public Attributes

uint32_t AudioFrequency
 
uint32_t AudioMode
 
uint32_t ClockStrobing
 
uint32_t CompandingMode
 
uint32_t DataSize
 
uint32_t FIFOThreshold
 
uint32_t FirstBit
 
uint32_t Mckdiv
 
uint32_t MckOutput
 
uint32_t MckOverSampling
 
uint32_t MonoStereoMode
 
uint32_t NoDivider
 
uint32_t OutputDrive
 
SAI_PdmInitTypeDef PdmInit
 
uint32_t Protocol
 
uint32_t Synchro
 
uint32_t SynchroExt
 
uint32_t TriState
 

Detailed Description

Definition at line 66 of file stm32f7xx_hal_sai.h.

Member Data Documentation

◆ AudioFrequency

uint32_t SAI_InitTypeDef::AudioFrequency

Specifies the audio frequency sampling. This parameter can be a value of SAI Audio Frequency

Definition at line 97 of file stm32f7xx_hal_sai.h.

◆ AudioMode

uint32_t SAI_InitTypeDef::AudioMode

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

Definition at line 68 of file stm32f7xx_hal_sai.h.

◆ ClockStrobing

uint32_t SAI_InitTypeDef::ClockStrobing

Specifies the SAI Block clock strobing edge sensitivity. This parameter can be a value of SAI Block Clock Strobing

Definition at line 126 of file stm32f7xx_hal_sai.h.

◆ CompandingMode

uint32_t SAI_InitTypeDef::CompandingMode

Specifies the companding mode type. This parameter can be a value of SAI Block Companding Mode

Definition at line 108 of file stm32f7xx_hal_sai.h.

◆ DataSize

uint32_t SAI_InitTypeDef::DataSize

Specifies the SAI Block data size. This parameter can be a value of SAI Block Data Size

Definition at line 120 of file stm32f7xx_hal_sai.h.

◆ FIFOThreshold

uint32_t SAI_InitTypeDef::FIFOThreshold

Specifies SAI Block FIFO threshold. This parameter can be a value of SAI Block Fifo Threshold

Definition at line 94 of file stm32f7xx_hal_sai.h.

◆ FirstBit

uint32_t SAI_InitTypeDef::FirstBit

Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of SAI Block MSB LSB transmission

Definition at line 123 of file stm32f7xx_hal_sai.h.

◆ Mckdiv

uint32_t SAI_InitTypeDef::Mckdiv

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

Note
This parameter is used only if AudioFrequency is set to SAI_AUDIO_FREQUENCY_MCKDIV otherwise it is internally computed.

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

Note
This parameter is used only if AudioFrequency is set to SAI_AUDIO_FREQUENCY_MCKDIV otherwise it is internally computed.

Definition at line 100 of file stm32f7xx_hal_sai.h.

◆ MckOutput

uint32_t SAI_InitTypeDef::MckOutput

Specifies whether master clock output will be generated or not. This parameter can be a value of SAI Block Master Clock Output

Note
This feature is only available on STM32H7xx Rev.B and above

Definition at line 95 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.

◆ MckOverSampling

uint32_t SAI_InitTypeDef::MckOverSampling

Specifies the master clock oversampling. This parameter can be a value of SAI Block Master Clock OverSampling

Definition at line 123 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.

◆ MonoStereoMode

uint32_t SAI_InitTypeDef::MonoStereoMode

Specifies if the mono or stereo mode is selected. This parameter can be a value of SAI Mono Stereo Mode

Definition at line 105 of file stm32f7xx_hal_sai.h.

◆ NoDivider

uint32_t SAI_InitTypeDef::NoDivider

Specifies whether master clock will be divided or not. This parameter can be a value of SAI Block NoDivider

Note
: If bit NODIV in the SAI_xCR1 register is cleared, the frame length should be aligned to a number equal to a power of 2, from 8 to 256. If bit NODIV in the SAI_xCR1 register is set, the frame length can take any of the values without constraint since the input clock of the audio block should be equal to the bit clock. There is no MCLK_x clock which can be output.

Specifies whether master clock will be divided or not. This parameter can be a value of SAI Block NoDivider

Note
If bit NODIV in the SAI_xCR1 register is cleared, the frame length should be aligned to a number equal to a power of 2, from 8 to 256. If bit NODIV in the SAI_xCR1 register is set, the frame length can take any of the values from 8 to 256.
The NODIV bit is the same as NOMCK bit in STM32H7xx rev.Y

Definition at line 85 of file stm32f7xx_hal_sai.h.

◆ OutputDrive

uint32_t SAI_InitTypeDef::OutputDrive

Specifies when SAI Block outputs are driven. This parameter can be a value of SAI Block Output Drive

Note
this value has to be set before enabling the audio block but after the audio block configuration.

Specifies when SAI Block outputs are driven. This parameter can be a value of SAI Block Output Drive

Note
This value has to be set before enabling the audio block but after the audio block configuration.

Definition at line 80 of file stm32f7xx_hal_sai.h.

◆ PdmInit

SAI_PdmInitTypeDef SAI_InitTypeDef::PdmInit

Specifies the PDM configuration.

Definition at line 135 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_sai.h.

◆ Protocol

uint32_t SAI_InitTypeDef::Protocol

Specifies the SAI Block protocol. This parameter can be a value of SAI Block Protocol

Definition at line 117 of file stm32f7xx_hal_sai.h.

◆ Synchro

uint32_t SAI_InitTypeDef::Synchro

Specifies SAI Block synchronization This parameter can be a value of SAI Block Synchronization

Definition at line 71 of file stm32f7xx_hal_sai.h.

◆ SynchroExt

uint32_t SAI_InitTypeDef::SynchroExt

Specifies SAI external output synchronization, this setup is common for BlockA and BlockB This parameter can be a value of SAI External synchronisation

Note
: If both audio blocks of same SAI are used, this parameter has to be set to the same value for each audio block

Specifies SAI external output synchronization, this setup is common for BlockA and BlockB This parameter can be a value of SAI External synchronisation

Note
If both audio blocks of same SAI are used, this parameter has to be set to the same value for each audio block

Definition at line 74 of file stm32f7xx_hal_sai.h.

◆ TriState

uint32_t SAI_InitTypeDef::TriState

Specifies the companding mode type. This parameter can be a value of SAI TRIState Management

Definition at line 111 of file stm32f7xx_hal_sai.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20