STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for Configuration:

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...
 

Detailed Description

Function Documentation

◆ LL_I2S_Disable()

__STATIC_INLINE void LL_I2S_Disable ( SPI_TypeDef *  SPIx)

Disable I2S peripheral @rmtoll I2SCFGR I2SE LL_I2S_Disable.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1389 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_DisableAsyncStart()

__STATIC_INLINE void LL_I2S_DisableAsyncStart ( SPI_TypeDef *  SPIx)

Disable asynchronous start @rmtoll I2SCFGR ASTRTEN LL_I2S_DisableAsyncStart.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1632 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_DisableMasterClock()

__STATIC_INLINE void LL_I2S_DisableMasterClock ( SPI_TypeDef *  SPIx)

Disable the master clock output (Pin MCK) @rmtoll I2SPR MCKOE LL_I2S_DisableMasterClock.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1598 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_Enable()

__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.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1378 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_EnableAsyncStart()

__STATIC_INLINE void LL_I2S_EnableAsyncStart ( SPI_TypeDef *  SPIx)

Enable asynchronous start @rmtoll I2SCFGR ASTRTEN LL_I2S_EnableAsyncStart.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1621 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_EnableMasterClock()

__STATIC_INLINE void LL_I2S_EnableMasterClock ( SPI_TypeDef *  SPIx)

Enable the master clock output (Pin MCK) @rmtoll I2SPR MCKOE LL_I2S_EnableMasterClock.

Parameters
SPIxSPI Instance
Return values
None

Definition at line 1587 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_GetClockPolarity()

__STATIC_INLINE uint32_t LL_I2S_GetClockPolarity ( const SPI_TypeDef *  SPIx)

Get I2S clock polarity @rmtoll I2SCFGR CKPOL LL_I2S_GetClockPolarity.

Parameters
SPIxSPI Instance
Return values
Returnedvalue can be one of the following values:
  • LL_I2S_POLARITY_LOW
  • LL_I2S_POLARITY_HIGH

Definition at line 1460 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_GetDataFormat()

__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.

Parameters
SPIxSPI Instance
Return values
Returnedvalue can be one of the following values:
  • LL_I2S_DATAFORMAT_16B
  • LL_I2S_DATAFORMAT_16B_EXTENDED
  • LL_I2S_DATAFORMAT_24B
  • LL_I2S_DATAFORMAT_32B

Definition at line 1433 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_GetPrescalerLinear()

__STATIC_INLINE uint32_t LL_I2S_GetPrescalerLinear ( const SPI_TypeDef *  SPIx)

Get I2S linear prescaler @rmtoll I2SPR I2SDIV LL_I2S_GetPrescalerLinear.

Parameters
SPIxSPI Instance
Return values
PrescalerLinearValue between Min_Data=0x02 and Max_Data=0xFF

Definition at line 1549 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_GetPrescalerParity()

__STATIC_INLINE uint32_t LL_I2S_GetPrescalerParity ( const SPI_TypeDef *  SPIx)

Get I2S parity prescaler @rmtoll I2SPR ODD LL_I2S_GetPrescalerParity.

Parameters
SPIxSPI Instance
Return values
Returnedvalue can be one of the following values:
  • LL_I2S_PRESCALER_PARITY_EVEN
  • LL_I2S_PRESCALER_PARITY_ODD

Definition at line 1576 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_GetStandard()

__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.

Parameters
SPIxSPI Instance
Return values
Returnedvalue can be one of the following values:
  • LL_I2S_STANDARD_PHILIPS
  • LL_I2S_STANDARD_MSB
  • LL_I2S_STANDARD_LSB
  • LL_I2S_STANDARD_PCM_SHORT
  • LL_I2S_STANDARD_PCM_LONG

Definition at line 1495 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_GetTransferMode()

__STATIC_INLINE uint32_t LL_I2S_GetTransferMode ( const SPI_TypeDef *  SPIx)

Get I2S transfer mode @rmtoll I2SCFGR I2SCFG LL_I2S_GetTransferMode.

Parameters
SPIxSPI Instance
Return values
Returnedvalue can be one of the following values:
  • LL_I2S_MODE_SLAVE_TX
  • LL_I2S_MODE_SLAVE_RX
  • LL_I2S_MODE_MASTER_TX
  • LL_I2S_MODE_MASTER_RX

Definition at line 1526 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_IsEnabled()

__STATIC_INLINE uint32_t LL_I2S_IsEnabled ( const SPI_TypeDef *  SPIx)

Check if I2S peripheral is enabled @rmtoll I2SCFGR I2SE LL_I2S_IsEnabled.

Parameters
SPIxSPI Instance
Return values
Stateof bit (1 or 0).

Definition at line 1400 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_IsEnabledAsyncStart()

__STATIC_INLINE uint32_t LL_I2S_IsEnabledAsyncStart ( const SPI_TypeDef *  SPIx)

Check if asynchronous start is enabled @rmtoll I2SCFGR ASTRTEN LL_I2S_IsEnabledAsyncStart.

Parameters
SPIxSPI Instance
Return values
Stateof bit (1 or 0).

Definition at line 1643 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_IsEnabledMasterClock()

__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.

Parameters
SPIxSPI Instance
Return values
Stateof bit (1 or 0).

Definition at line 1609 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_SetClockPolarity()

__STATIC_INLINE void LL_I2S_SetClockPolarity ( SPI_TypeDef *  SPIx,
uint32_t  ClockPolarity 
)

Set I2S clock polarity @rmtoll I2SCFGR CKPOL LL_I2S_SetClockPolarity.

Parameters
SPIxSPI Instance
ClockPolarityThis parameter can be one of the following values:
  • LL_I2S_POLARITY_LOW
  • LL_I2S_POLARITY_HIGH
Return values
None

Definition at line 1447 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_SetDataFormat()

__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.

Parameters
SPIxSPI Instance
DataFormatThis parameter can be one of the following values:
  • LL_I2S_DATAFORMAT_16B
  • LL_I2S_DATAFORMAT_16B_EXTENDED
  • LL_I2S_DATAFORMAT_24B
  • LL_I2S_DATAFORMAT_32B
Return values
None

Definition at line 1417 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_SetPrescalerLinear()

__STATIC_INLINE void LL_I2S_SetPrescalerLinear ( SPI_TypeDef *  SPIx,
uint8_t  PrescalerLinear 
)

Set I2S linear prescaler @rmtoll I2SPR I2SDIV LL_I2S_SetPrescalerLinear.

Parameters
SPIxSPI Instance
PrescalerLinearValue between Min_Data=0x02 and Max_Data=0xFF
Return values
None

Definition at line 1538 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_SetPrescalerParity()

__STATIC_INLINE void LL_I2S_SetPrescalerParity ( SPI_TypeDef *  SPIx,
uint32_t  PrescalerParity 
)

Set I2S parity prescaler @rmtoll I2SPR ODD LL_I2S_SetPrescalerParity.

Parameters
SPIxSPI Instance
PrescalerParityThis parameter can be one of the following values:
  • LL_I2S_PRESCALER_PARITY_EVEN
  • LL_I2S_PRESCALER_PARITY_ODD
Return values
None

Definition at line 1563 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_SetStandard()

__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.

Parameters
SPIxSPI Instance
StandardThis parameter can be one of the following values:
  • LL_I2S_STANDARD_PHILIPS
  • LL_I2S_STANDARD_MSB
  • LL_I2S_STANDARD_LSB
  • LL_I2S_STANDARD_PCM_SHORT
  • LL_I2S_STANDARD_PCM_LONG
Return values
None

Definition at line 1478 of file stm32f4xx_ll_spi.h.

◆ LL_I2S_SetTransferMode()

__STATIC_INLINE void LL_I2S_SetTransferMode ( SPI_TypeDef *  SPIx,
uint32_t  Mode 
)

Set I2S transfer mode @rmtoll I2SCFGR I2SCFG LL_I2S_SetTransferMode.

Parameters
SPIxSPI Instance
ModeThis parameter can be one of the following values:
  • LL_I2S_MODE_SLAVE_TX
  • LL_I2S_MODE_SLAVE_RX
  • LL_I2S_MODE_MASTER_TX
  • LL_I2S_MODE_MASTER_RX
Return values
None

Definition at line 1511 of file stm32f4xx_ll_spi.h.