STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_I2S_Enable (SPI_TypeDef *SPIx) |
Select I2S mode and Enable I2S peripheral @rmtoll I2SCFGR I2SMOD LL_I2S_Enable I2SCFGR I2SE LL_I2S_Enable. More... | |
__STATIC_INLINE void | LL_I2S_Disable (SPI_TypeDef *SPIx) |
Disable I2S peripheral @rmtoll I2SCFGR I2SE LL_I2S_Disable. More... | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabled (const SPI_TypeDef *SPIx) |
Check if I2S peripheral is enabled @rmtoll I2SCFGR I2SE LL_I2S_IsEnabled. More... | |
__STATIC_INLINE void | LL_I2S_SetDataFormat (SPI_TypeDef *SPIx, uint32_t DataFormat) |
Set I2S data frame length @rmtoll I2SCFGR DATLEN LL_I2S_SetDataFormat I2SCFGR CHLEN LL_I2S_SetDataFormat. More... | |
__STATIC_INLINE uint32_t | LL_I2S_GetDataFormat (const SPI_TypeDef *SPIx) |
Get I2S data frame length @rmtoll I2SCFGR DATLEN LL_I2S_GetDataFormat I2SCFGR CHLEN LL_I2S_GetDataFormat. More... | |
__STATIC_INLINE void | LL_I2S_SetClockPolarity (SPI_TypeDef *SPIx, uint32_t ClockPolarity) |
Set I2S clock polarity @rmtoll I2SCFGR CKPOL LL_I2S_SetClockPolarity. More... | |
__STATIC_INLINE uint32_t | LL_I2S_GetClockPolarity (const SPI_TypeDef *SPIx) |
Get I2S clock polarity @rmtoll I2SCFGR CKPOL LL_I2S_GetClockPolarity. More... | |
__STATIC_INLINE void | LL_I2S_SetStandard (SPI_TypeDef *SPIx, uint32_t Standard) |
Set I2S standard protocol @rmtoll I2SCFGR I2SSTD LL_I2S_SetStandard I2SCFGR PCMSYNC LL_I2S_SetStandard. More... | |
__STATIC_INLINE uint32_t | LL_I2S_GetStandard (const SPI_TypeDef *SPIx) |
Get I2S standard protocol @rmtoll I2SCFGR I2SSTD LL_I2S_GetStandard I2SCFGR PCMSYNC LL_I2S_GetStandard. More... | |
__STATIC_INLINE void | LL_I2S_SetTransferMode (SPI_TypeDef *SPIx, uint32_t Mode) |
Set I2S transfer mode @rmtoll I2SCFGR I2SCFG LL_I2S_SetTransferMode. More... | |
__STATIC_INLINE uint32_t | LL_I2S_GetTransferMode (const SPI_TypeDef *SPIx) |
Get I2S transfer mode @rmtoll I2SCFGR I2SCFG LL_I2S_GetTransferMode. More... | |
__STATIC_INLINE void | LL_I2S_SetPrescalerLinear (SPI_TypeDef *SPIx, uint8_t PrescalerLinear) |
Set I2S linear prescaler @rmtoll I2SPR I2SDIV LL_I2S_SetPrescalerLinear. More... | |
__STATIC_INLINE uint32_t | LL_I2S_GetPrescalerLinear (const SPI_TypeDef *SPIx) |
Get I2S linear prescaler @rmtoll I2SPR I2SDIV LL_I2S_GetPrescalerLinear. More... | |
__STATIC_INLINE void | LL_I2S_SetPrescalerParity (SPI_TypeDef *SPIx, uint32_t PrescalerParity) |
Set I2S parity prescaler @rmtoll I2SPR ODD LL_I2S_SetPrescalerParity. More... | |
__STATIC_INLINE uint32_t | LL_I2S_GetPrescalerParity (const SPI_TypeDef *SPIx) |
Get I2S parity prescaler @rmtoll I2SPR ODD LL_I2S_GetPrescalerParity. More... | |
__STATIC_INLINE void | LL_I2S_EnableMasterClock (SPI_TypeDef *SPIx) |
Enable the master clock output (Pin MCK) @rmtoll I2SPR MCKOE LL_I2S_EnableMasterClock. More... | |
__STATIC_INLINE void | LL_I2S_DisableMasterClock (SPI_TypeDef *SPIx) |
Disable the master clock output (Pin MCK) @rmtoll I2SPR MCKOE LL_I2S_DisableMasterClock. More... | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledMasterClock (const SPI_TypeDef *SPIx) |
Check if the master clock output (Pin MCK) is enabled @rmtoll I2SPR MCKOE LL_I2S_IsEnabledMasterClock. More... | |
__STATIC_INLINE void | LL_I2S_EnableAsyncStart (SPI_TypeDef *SPIx) |
Enable asynchronous start @rmtoll I2SCFGR ASTRTEN LL_I2S_EnableAsyncStart. More... | |
__STATIC_INLINE void | LL_I2S_DisableAsyncStart (SPI_TypeDef *SPIx) |
Disable asynchronous start @rmtoll I2SCFGR ASTRTEN LL_I2S_DisableAsyncStart. More... | |
__STATIC_INLINE uint32_t | LL_I2S_IsEnabledAsyncStart (const SPI_TypeDef *SPIx) |
Check if asynchronous start is enabled @rmtoll I2SCFGR ASTRTEN LL_I2S_IsEnabledAsyncStart. More... | |
__STATIC_INLINE void LL_I2S_Disable | ( | SPI_TypeDef * | SPIx | ) |
Disable I2S peripheral @rmtoll I2SCFGR I2SE LL_I2S_Disable.
SPIx | SPI Instance |
None |
Definition at line 1389 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_DisableAsyncStart | ( | SPI_TypeDef * | SPIx | ) |
Disable asynchronous start @rmtoll I2SCFGR ASTRTEN LL_I2S_DisableAsyncStart.
SPIx | SPI Instance |
None |
Definition at line 1632 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_DisableMasterClock | ( | SPI_TypeDef * | SPIx | ) |
Disable the master clock output (Pin MCK) @rmtoll I2SPR MCKOE LL_I2S_DisableMasterClock.
SPIx | SPI Instance |
None |
Definition at line 1598 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_Enable | ( | SPI_TypeDef * | SPIx | ) |
Select I2S mode and Enable I2S peripheral @rmtoll I2SCFGR I2SMOD LL_I2S_Enable
I2SCFGR I2SE LL_I2S_Enable.
SPIx | SPI Instance |
None |
Definition at line 1378 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_EnableAsyncStart | ( | SPI_TypeDef * | SPIx | ) |
Enable asynchronous start @rmtoll I2SCFGR ASTRTEN LL_I2S_EnableAsyncStart.
SPIx | SPI Instance |
None |
Definition at line 1621 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_EnableMasterClock | ( | SPI_TypeDef * | SPIx | ) |
Enable the master clock output (Pin MCK) @rmtoll I2SPR MCKOE LL_I2S_EnableMasterClock.
SPIx | SPI Instance |
None |
Definition at line 1587 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetClockPolarity | ( | const SPI_TypeDef * | SPIx | ) |
Get I2S clock polarity @rmtoll I2SCFGR CKPOL LL_I2S_GetClockPolarity.
SPIx | SPI Instance |
Returned | value can be one of the following values:
|
Definition at line 1460 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetDataFormat | ( | const SPI_TypeDef * | SPIx | ) |
Get I2S data frame length @rmtoll I2SCFGR DATLEN LL_I2S_GetDataFormat
I2SCFGR CHLEN LL_I2S_GetDataFormat.
SPIx | SPI Instance |
Returned | value can be one of the following values:
|
Definition at line 1433 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetPrescalerLinear | ( | const SPI_TypeDef * | SPIx | ) |
Get I2S linear prescaler @rmtoll I2SPR I2SDIV LL_I2S_GetPrescalerLinear.
SPIx | SPI Instance |
PrescalerLinear | Value between Min_Data=0x02 and Max_Data=0xFF |
Definition at line 1549 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetPrescalerParity | ( | const SPI_TypeDef * | SPIx | ) |
Get I2S parity prescaler @rmtoll I2SPR ODD LL_I2S_GetPrescalerParity.
SPIx | SPI Instance |
Returned | value can be one of the following values:
|
Definition at line 1576 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetStandard | ( | const SPI_TypeDef * | SPIx | ) |
Get I2S standard protocol @rmtoll I2SCFGR I2SSTD LL_I2S_GetStandard
I2SCFGR PCMSYNC LL_I2S_GetStandard.
SPIx | SPI Instance |
Returned | value can be one of the following values:
|
Definition at line 1495 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_GetTransferMode | ( | const SPI_TypeDef * | SPIx | ) |
Get I2S transfer mode @rmtoll I2SCFGR I2SCFG LL_I2S_GetTransferMode.
SPIx | SPI Instance |
Returned | value can be one of the following values:
|
Definition at line 1526 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_IsEnabled | ( | const SPI_TypeDef * | SPIx | ) |
Check if I2S peripheral is enabled @rmtoll I2SCFGR I2SE LL_I2S_IsEnabled.
SPIx | SPI Instance |
State | of bit (1 or 0). |
Definition at line 1400 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_IsEnabledAsyncStart | ( | const SPI_TypeDef * | SPIx | ) |
Check if asynchronous start is enabled @rmtoll I2SCFGR ASTRTEN LL_I2S_IsEnabledAsyncStart.
SPIx | SPI Instance |
State | of bit (1 or 0). |
Definition at line 1643 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_I2S_IsEnabledMasterClock | ( | const SPI_TypeDef * | SPIx | ) |
Check if the master clock output (Pin MCK) is enabled @rmtoll I2SPR MCKOE LL_I2S_IsEnabledMasterClock.
SPIx | SPI Instance |
State | of bit (1 or 0). |
Definition at line 1609 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetClockPolarity | ( | SPI_TypeDef * | SPIx, |
uint32_t | ClockPolarity | ||
) |
Set I2S clock polarity @rmtoll I2SCFGR CKPOL LL_I2S_SetClockPolarity.
SPIx | SPI Instance |
ClockPolarity | This parameter can be one of the following values:
|
None |
Definition at line 1447 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetDataFormat | ( | SPI_TypeDef * | SPIx, |
uint32_t | DataFormat | ||
) |
Set I2S data frame length @rmtoll I2SCFGR DATLEN LL_I2S_SetDataFormat
I2SCFGR CHLEN LL_I2S_SetDataFormat.
SPIx | SPI Instance |
DataFormat | This parameter can be one of the following values:
|
None |
Definition at line 1417 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetPrescalerLinear | ( | SPI_TypeDef * | SPIx, |
uint8_t | PrescalerLinear | ||
) |
Set I2S linear prescaler @rmtoll I2SPR I2SDIV LL_I2S_SetPrescalerLinear.
SPIx | SPI Instance |
PrescalerLinear | Value between Min_Data=0x02 and Max_Data=0xFF |
None |
Definition at line 1538 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetPrescalerParity | ( | SPI_TypeDef * | SPIx, |
uint32_t | PrescalerParity | ||
) |
Set I2S parity prescaler @rmtoll I2SPR ODD LL_I2S_SetPrescalerParity.
SPIx | SPI Instance |
PrescalerParity | This parameter can be one of the following values:
|
None |
Definition at line 1563 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetStandard | ( | SPI_TypeDef * | SPIx, |
uint32_t | Standard | ||
) |
Set I2S standard protocol @rmtoll I2SCFGR I2SSTD LL_I2S_SetStandard
I2SCFGR PCMSYNC LL_I2S_SetStandard.
SPIx | SPI Instance |
Standard | This parameter can be one of the following values:
|
None |
Definition at line 1478 of file stm32f4xx_ll_spi.h.
__STATIC_INLINE void LL_I2S_SetTransferMode | ( | SPI_TypeDef * | SPIx, |
uint32_t | Mode | ||
) |
Set I2S transfer mode @rmtoll I2SCFGR I2SCFG LL_I2S_SetTransferMode.
SPIx | SPI Instance |
Mode | This parameter can be one of the following values:
|
None |
Definition at line 1511 of file stm32f4xx_ll_spi.h.