STM32H735xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_I2S_SetDataFormat (SPI_TypeDef *SPIx, uint32_t DataLength) |
Set I2S Data frame format. | |
__STATIC_INLINE uint32_t | LL_I2S_GetDataFormat (SPI_TypeDef *SPIx) |
Get I2S Data frame format. | |
__STATIC_INLINE void | LL_I2S_SetChannelLengthType (SPI_TypeDef *SPIx, uint32_t ChannelLengthType) |
Set I2S Channel Length Type. | |
__STATIC_INLINE uint32_t | LL_I2S_GetChannelLengthType (SPI_TypeDef *SPIx) |
Get I2S Channel Length Type. | |
__STATIC_INLINE void | LL_I2S_EnableWordSelectInversion (SPI_TypeDef *SPIx) |
Invert the default polarity of WS signal. | |
__STATIC_INLINE void | LL_I2S_DisableWordSelectInversion (SPI_TypeDef *SPIx) |
Use the default polarity of WS signal. | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledWordSelectInversion (SPI_TypeDef *SPIx) |
Check if polarity of WS signal is inverted. | |
__STATIC_INLINE void | LL_I2S_SetClockPolarity (SPI_TypeDef *SPIx, uint32_t ClockPolarity) |
Set 2S Clock Polarity. | |
__STATIC_INLINE uint32_t | LL_I2S_GetClockPolarity (SPI_TypeDef *SPIx) |
Get 2S Clock Polarity. | |
__STATIC_INLINE void | LL_I2S_SetStandard (SPI_TypeDef *SPIx, uint32_t Standard) |
Set I2S standard. | |
__STATIC_INLINE uint32_t | LL_I2S_GetStandard (SPI_TypeDef *SPIx) |
Get I2S standard. | |
__STATIC_INLINE void | LL_I2S_SetTransferMode (SPI_TypeDef *SPIx, uint32_t Standard) |
Set I2S config. | |
__STATIC_INLINE uint32_t | LL_I2S_GetTransferMode (SPI_TypeDef *SPIx) |
Get I2S config. | |
__STATIC_INLINE void | LL_I2S_Enable (SPI_TypeDef *SPIx) |
Select I2S mode and Enable I2S peripheral. | |
__STATIC_INLINE void | LL_I2S_Disable (SPI_TypeDef *SPIx) |
Disable I2S peripheral and disable I2S mode. | |
__STATIC_INLINE void | LL_I2S_EnableIOSwap (SPI_TypeDef *SPIx) |
Swap the SDO and SDI pin. | |
__STATIC_INLINE void | LL_I2S_DisableIOSwap (SPI_TypeDef *SPIx) |
Restore default function for SDO and SDI pin. | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledIOSwap (SPI_TypeDef *SPIx) |
Check if SDO and SDI pin are swapped. | |
__STATIC_INLINE void | LL_I2S_EnableGPIOControl (SPI_TypeDef *SPIx) |
Enable GPIO control. | |
__STATIC_INLINE void | LL_I2S_DisableGPIOControl (SPI_TypeDef *SPIx) |
Disable GPIO control. | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledGPIOControl (SPI_TypeDef *SPIx) |
Check if GPIO control is active. | |
__STATIC_INLINE void | LL_I2S_EnableIOLock (SPI_TypeDef *SPIx) |
Lock the AF configuration of associated IOs. | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledIOLock (SPI_TypeDef *SPIx) |
Check if the the SPI_CFG2 register is locked. | |
__STATIC_INLINE void | LL_I2S_SetTransferBitOrder (SPI_TypeDef *SPIx, uint32_t BitOrder) |
Set Transfer Bit Order. | |
__STATIC_INLINE uint32_t | LL_I2S_GetTransferBitOrder (SPI_TypeDef *SPIx) |
Get Transfer Bit Order. | |
__STATIC_INLINE void | LL_I2S_StartTransfer (SPI_TypeDef *SPIx) |
Start effective transfer on wire. | |
__STATIC_INLINE uint32_t | LL_I2S_IsActiveTransfer (SPI_TypeDef *SPIx) |
Check if there is an unfinished transfer. | |
__STATIC_INLINE void | LL_I2S_SetFIFOThreshold (SPI_TypeDef *SPIx, uint32_t Threshold) |
Set threshold of FIFO that triggers a transfer event. | |
__STATIC_INLINE uint32_t | LL_I2S_GetFIFOThreshold (SPI_TypeDef *SPIx) |
Get threshold of FIFO that triggers a transfer event. | |
__STATIC_INLINE void | LL_I2S_SetPrescalerLinear (SPI_TypeDef *SPIx, uint32_t PrescalerLinear) |
Set I2S linear prescaler. | |
__STATIC_INLINE uint32_t | LL_I2S_GetPrescalerLinear (SPI_TypeDef *SPIx) |
Get I2S linear prescaler. | |
__STATIC_INLINE void | LL_I2S_SetPrescalerParity (SPI_TypeDef *SPIx, uint32_t PrescalerParity) |
Set I2S parity prescaler. | |
__STATIC_INLINE uint32_t | LL_I2S_GetPrescalerParity (SPI_TypeDef *SPIx) |
Get I2S parity prescaler. | |
__STATIC_INLINE void | LL_I2S_EnableMasterClock (SPI_TypeDef *SPIx) |
Enable the Master Clock Output (Pin MCK) | |
__STATIC_INLINE void | LL_I2S_DisableMasterClock (SPI_TypeDef *SPIx) |
Disable the Master Clock Output (Pin MCK) | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledMasterClock (SPI_TypeDef *SPIx) |
Check if the master clock output (Pin MCK) is enabled. |
__STATIC_INLINE void LL_I2S_Disable | ( | SPI_TypeDef * | SPIx | ) |
Disable I2S peripheral and disable I2S mode.
SPIx | SPI Handle |
None |
Definition at line 3043 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_DisableGPIOControl | ( | SPI_TypeDef * | SPIx | ) |
Disable GPIO control.
SPIx | SPI Instance |
None |
Definition at line 3103 of file stm32h7xx_ll_spi.h.
References LL_SPI_DisableGPIOControl().
__STATIC_INLINE void LL_I2S_DisableIOSwap | ( | SPI_TypeDef * | SPIx | ) |
Restore default function for SDO and SDI pin.
SPIx | SPI Instance |
None |
Definition at line 3068 of file stm32h7xx_ll_spi.h.
References LL_SPI_DisableIOSwap().
__STATIC_INLINE void LL_I2S_DisableMasterClock | ( | SPI_TypeDef * | SPIx | ) |
Disable the Master Clock Output (Pin MCK)
SPIx | SPI Handle |
None |
Definition at line 3300 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_DisableWordSelectInversion | ( | SPI_TypeDef * | SPIx | ) |
Use the default polarity of WS signal.
SPIx | SPI Handle |
None |
Definition at line 2910 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_Enable | ( | SPI_TypeDef * | SPIx | ) |
Select I2S mode and Enable I2S peripheral.
SPIx | SPI Handle |
None |
Definition at line 3030 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_EnableGPIOControl | ( | SPI_TypeDef * | SPIx | ) |
Enable GPIO control.
SPIx | SPI Instance |
None |
Definition at line 3091 of file stm32h7xx_ll_spi.h.
References LL_SPI_EnableGPIOControl().
__STATIC_INLINE void LL_I2S_EnableIOLock | ( | SPI_TypeDef * | SPIx | ) |
Lock the AF configuration of associated IOs.
SPIx | SPI Instance |
None |
Definition at line 3127 of file stm32h7xx_ll_spi.h.
References LL_SPI_EnableIOLock().
__STATIC_INLINE void LL_I2S_EnableIOSwap | ( | SPI_TypeDef * | SPIx | ) |
Swap the SDO and SDI pin.
SPIx | SPI Instance |
None |
Definition at line 3056 of file stm32h7xx_ll_spi.h.
References LL_SPI_EnableIOSwap().
__STATIC_INLINE void LL_I2S_EnableMasterClock | ( | SPI_TypeDef * | SPIx | ) |
Enable the Master Clock Output (Pin MCK)
SPIx | SPI Handle |
None |
Definition at line 3289 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_EnableWordSelectInversion | ( | SPI_TypeDef * | SPIx | ) |
Invert the default polarity of WS signal.
SPIx | SPI Handle |
None |
Definition at line 2899 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetChannelLengthType | ( | SPI_TypeDef * | SPIx | ) |
Get I2S Channel Length Type.
SPIx | SPI Handle |
Return | value can be one of the following values: |
Definition at line 2888 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetClockPolarity | ( | SPI_TypeDef * | SPIx | ) |
Get 2S Clock Polarity.
SPIx | SPI Handle |
Return | value can be one of the following values: |
Definition at line 2948 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetDataFormat | ( | SPI_TypeDef * | SPIx | ) |
Get I2S Data frame format.
SPIx | SPI Handle |
Return | value can be one of the following values: |
Definition at line 2859 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetFIFOThreshold | ( | SPI_TypeDef * | SPIx | ) |
Get threshold of FIFO that triggers a transfer event.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 3227 of file stm32h7xx_ll_spi.h.
References LL_SPI_GetFIFOThreshold().
__STATIC_INLINE uint32_t LL_I2S_GetPrescalerLinear | ( | SPI_TypeDef * | SPIx | ) |
Get I2S linear prescaler.
SPIx | SPI Instance |
PrescalerLinear | Value between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 3251 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetPrescalerParity | ( | SPI_TypeDef * | SPIx | ) |
Get I2S parity prescaler.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 3278 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetStandard | ( | SPI_TypeDef * | SPIx | ) |
Get I2S standard.
SPIx | SPI Handle |
Return | value can be one of the following values: |
Definition at line 2983 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetTransferBitOrder | ( | SPI_TypeDef * | SPIx | ) |
Get Transfer Bit Order.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 3165 of file stm32h7xx_ll_spi.h.
References LL_SPI_GetTransferBitOrder().
__STATIC_INLINE uint32_t LL_I2S_GetTransferMode | ( | SPI_TypeDef * | SPIx | ) |
Get I2S config.
SPIx | SPI Handle |
Return | value can be one of the following values: |
Definition at line 3018 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_IsActiveTransfer | ( | SPI_TypeDef * | SPIx | ) |
Check if there is an unfinished transfer.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 3187 of file stm32h7xx_ll_spi.h.
References LL_SPI_IsActiveMasterTransfer().
__STATIC_INLINE uint32_t LL_I2S_IsEnabledGPIOControl | ( | SPI_TypeDef * | SPIx | ) |
Check if GPIO control is active.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 3114 of file stm32h7xx_ll_spi.h.
References LL_SPI_IsEnabledGPIOControl().
__STATIC_INLINE uint32_t LL_I2S_IsEnabledIOLock | ( | SPI_TypeDef * | SPIx | ) |
Check if the the SPI_CFG2 register is locked.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 3138 of file stm32h7xx_ll_spi.h.
References LL_SPI_IsEnabledIOLock().
__STATIC_INLINE uint32_t LL_I2S_IsEnabledIOSwap | ( | SPI_TypeDef * | SPIx | ) |
Check if SDO and SDI pin are swapped.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 3079 of file stm32h7xx_ll_spi.h.
References LL_SPI_IsEnabledIOSwap().
__STATIC_INLINE uint32_t LL_I2S_IsEnabledMasterClock | ( | SPI_TypeDef * | SPIx | ) |
Check if the master clock output (Pin MCK) is enabled.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 3311 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_IsEnabledWordSelectInversion | ( | SPI_TypeDef * | SPIx | ) |
Check if polarity of WS signal is inverted.
SPIx | SPI Handle |
State | of bit (1 or 0) |
Definition at line 2921 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetChannelLengthType | ( | SPI_TypeDef * | SPIx, |
uint32_t | ChannelLengthType | ||
) |
Set I2S Channel Length Type.
SPIx | SPI Handle |
ChannelLengthType | This parameter can be one of the following values: |
None |
Definition at line 2874 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetClockPolarity | ( | SPI_TypeDef * | SPIx, |
uint32_t | ClockPolarity | ||
) |
Set 2S Clock Polarity.
SPIx | SPI Handle |
ClockPolarity | This parameter can be one of the following values: |
None |
Definition at line 2935 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetDataFormat | ( | SPI_TypeDef * | SPIx, |
uint32_t | DataLength | ||
) |
Set I2S Data frame format.
SPIx | SPI Handle |
DataLength | This parameter can be one of the following values: |
None |
Definition at line 2841 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetFIFOThreshold | ( | SPI_TypeDef * | SPIx, |
uint32_t | Threshold | ||
) |
Set threshold of FIFO that triggers a transfer event.
SPIx | SPI Instance |
Threshold | This parameter can be one of the following values: |
None |
Definition at line 3208 of file stm32h7xx_ll_spi.h.
References LL_SPI_SetFIFOThreshold().
__STATIC_INLINE void LL_I2S_SetPrescalerLinear | ( | SPI_TypeDef * | SPIx, |
uint32_t | PrescalerLinear | ||
) |
Set I2S linear prescaler.
SPIx | SPI Instance |
PrescalerLinear | Value between Min_Data=0x00 and Max_Data=0xFF |
None |
Definition at line 3240 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetPrescalerParity | ( | SPI_TypeDef * | SPIx, |
uint32_t | PrescalerParity | ||
) |
Set I2S parity prescaler.
SPIx | SPI Instance |
PrescalerParity | This parameter can be one of the following values: |
None |
Definition at line 3265 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetStandard | ( | SPI_TypeDef * | SPIx, |
uint32_t | Standard | ||
) |
Set I2S standard.
SPIx | SPI Handle |
Standard | This parameter can be one of the following values: |
None |
Definition at line 2966 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetTransferBitOrder | ( | SPI_TypeDef * | SPIx, |
uint32_t | BitOrder | ||
) |
Set Transfer Bit Order.
SPIx | SPI Instance |
BitOrder | This parameter can be one of the following values: |
None |
Definition at line 3153 of file stm32h7xx_ll_spi.h.
References LL_SPI_SetTransferBitOrder().
__STATIC_INLINE void LL_I2S_SetTransferMode | ( | SPI_TypeDef * | SPIx, |
uint32_t | Standard | ||
) |
Set I2S config.
SPIx | SPI Handle |
Standard | This parameter can be one of the following values: |
None |
Definition at line 3001 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_StartTransfer | ( | SPI_TypeDef * | SPIx | ) |
Start effective transfer on wire.
SPIx | SPI Instance |
None |
Definition at line 3176 of file stm32h7xx_ll_spi.h.
References LL_SPI_StartMasterTransfer().