STM32H735xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_SPI_Enable (SPI_TypeDef *SPIx) |
Enable SPI peripheral. | |
__STATIC_INLINE void | LL_SPI_Disable (SPI_TypeDef *SPIx) |
Disable SPI peripheral. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabled (SPI_TypeDef *SPIx) |
Check if SPI peripheral is enabled. | |
__STATIC_INLINE void | LL_SPI_EnableIOSwap (SPI_TypeDef *SPIx) |
Swap the MOSI and MISO pin. | |
__STATIC_INLINE void | LL_SPI_DisableIOSwap (SPI_TypeDef *SPIx) |
Restore default function for MOSI and MISO pin. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledIOSwap (SPI_TypeDef *SPIx) |
Check if MOSI and MISO pin are swapped. | |
__STATIC_INLINE void | LL_SPI_EnableGPIOControl (SPI_TypeDef *SPIx) |
Enable GPIO control. | |
__STATIC_INLINE void | LL_SPI_DisableGPIOControl (SPI_TypeDef *SPIx) |
Disable GPIO control. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledGPIOControl (SPI_TypeDef *SPIx) |
Check if GPIO control is active. | |
__STATIC_INLINE void | LL_SPI_SetMode (SPI_TypeDef *SPIx, uint32_t Mode) |
Set SPI Mode to Master or Slave. | |
__STATIC_INLINE uint32_t | LL_SPI_GetMode (SPI_TypeDef *SPIx) |
Get SPI Mode (Master or Slave) | |
__STATIC_INLINE void | LL_SPI_SetMasterSSIdleness (SPI_TypeDef *SPIx, uint32_t MasterSSIdleness) |
Configure the Idleness applied by master between active edge of SS and first send data. | |
__STATIC_INLINE uint32_t | LL_SPI_GetMasterSSIdleness (SPI_TypeDef *SPIx) |
Get the configured Idleness applied by master. | |
__STATIC_INLINE void | LL_SPI_SetInterDataIdleness (SPI_TypeDef *SPIx, uint32_t MasterInterDataIdleness) |
Configure the idleness applied by master between data frame. | |
__STATIC_INLINE uint32_t | LL_SPI_GetInterDataIdleness (SPI_TypeDef *SPIx) |
Get the configured inter data idleness. | |
__STATIC_INLINE void | LL_SPI_SetTransferSize (SPI_TypeDef *SPIx, uint32_t Count) |
Set transfer size. | |
__STATIC_INLINE uint32_t | LL_SPI_GetTransferSize (SPI_TypeDef *SPIx) |
Get transfer size. | |
__STATIC_INLINE void | LL_SPI_SetReloadSize (SPI_TypeDef *SPIx, uint32_t Count) |
Set reload transfer size. | |
__STATIC_INLINE uint32_t | LL_SPI_GetReloadSize (SPI_TypeDef *SPIx) |
Get reload transfer size. | |
__STATIC_INLINE void | LL_SPI_EnableIOLock (SPI_TypeDef *SPIx) |
Lock the AF configuration of associated IOs. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledIOLock (SPI_TypeDef *SPIx) |
Check if the AF configuration is locked. | |
__STATIC_INLINE void | LL_SPI_SetTxCRCInitPattern (SPI_TypeDef *SPIx, uint32_t TXCRCInitAll) |
Set Tx CRC Initialization Pattern. | |
__STATIC_INLINE uint32_t | LL_SPI_GetTxCRCInitPattern (SPI_TypeDef *SPIx) |
Get Tx CRC Initialization Pattern. | |
__STATIC_INLINE void | LL_SPI_SetRxCRCInitPattern (SPI_TypeDef *SPIx, uint32_t RXCRCInitAll) |
Set Rx CRC Initialization Pattern. | |
__STATIC_INLINE uint32_t | LL_SPI_GetRxCRCInitPattern (SPI_TypeDef *SPIx) |
Get Rx CRC Initialization Pattern. | |
__STATIC_INLINE void | LL_SPI_SetInternalSSLevel (SPI_TypeDef *SPIx, uint32_t SSLevel) |
Set internal SS input level ignoring what comes from PIN. | |
__STATIC_INLINE uint32_t | LL_SPI_GetInternalSSLevel (SPI_TypeDef *SPIx) |
Get internal SS input level. | |
__STATIC_INLINE void | LL_SPI_EnableFullSizeCRC (SPI_TypeDef *SPIx) |
Enable CRC computation on 33/17 bits. | |
__STATIC_INLINE void | LL_SPI_DisableFullSizeCRC (SPI_TypeDef *SPIx) |
Disable CRC computation on 33/17 bits. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledFullSizeCRC (SPI_TypeDef *SPIx) |
Check if Enable CRC computation on 33/17 bits is enabled. | |
__STATIC_INLINE void | LL_SPI_SuspendMasterTransfer (SPI_TypeDef *SPIx) |
Suspend an ongoing transfer for Master configuration. | |
__STATIC_INLINE void | LL_SPI_StartMasterTransfer (SPI_TypeDef *SPIx) |
Start effective transfer on wire for Master configuration. | |
__STATIC_INLINE uint32_t | LL_SPI_IsActiveMasterTransfer (SPI_TypeDef *SPIx) |
Check if there is an unfinished master transfer. | |
__STATIC_INLINE void | LL_SPI_EnableMasterRxAutoSuspend (SPI_TypeDef *SPIx) |
Enable Master Rx auto suspend in case of overrun. | |
__STATIC_INLINE void | LL_SPI_DisableMasterRxAutoSuspend (SPI_TypeDef *SPIx) |
Disable Master Rx auto suspend in case of overrun. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledMasterRxAutoSuspend (SPI_TypeDef *SPIx) |
Check if Master Rx auto suspend is activated. | |
__STATIC_INLINE void | LL_SPI_SetUDRConfiguration (SPI_TypeDef *SPIx, uint32_t UDRConfig) |
Set Underrun behavior. | |
__STATIC_INLINE uint32_t | LL_SPI_GetUDRConfiguration (SPI_TypeDef *SPIx) |
Get Underrun behavior. | |
__STATIC_INLINE void | LL_SPI_SetUDRDetection (SPI_TypeDef *SPIx, uint32_t UDRDetection) |
Set Underrun Detection method. | |
__STATIC_INLINE uint32_t | LL_SPI_GetUDRDetection (SPI_TypeDef *SPIx) |
Get Underrun Detection method. | |
__STATIC_INLINE void | LL_SPI_SetStandard (SPI_TypeDef *SPIx, uint32_t Standard) |
Set Serial protocol used. | |
__STATIC_INLINE uint32_t | LL_SPI_GetStandard (SPI_TypeDef *SPIx) |
Get Serial protocol used. | |
__STATIC_INLINE void | LL_SPI_SetClockPhase (SPI_TypeDef *SPIx, uint32_t ClockPhase) |
Set Clock phase. | |
__STATIC_INLINE uint32_t | LL_SPI_GetClockPhase (SPI_TypeDef *SPIx) |
Get Clock phase. | |
__STATIC_INLINE void | LL_SPI_SetClockPolarity (SPI_TypeDef *SPIx, uint32_t ClockPolarity) |
Set Clock polarity. | |
__STATIC_INLINE uint32_t | LL_SPI_GetClockPolarity (SPI_TypeDef *SPIx) |
Get Clock polarity. | |
__STATIC_INLINE void | LL_SPI_SetNSSPolarity (SPI_TypeDef *SPIx, uint32_t NSSPolarity) |
Set NSS polarity. | |
__STATIC_INLINE uint32_t | LL_SPI_GetNSSPolarity (SPI_TypeDef *SPIx) |
Get NSS polarity. | |
__STATIC_INLINE void | LL_SPI_SetBaudRatePrescaler (SPI_TypeDef *SPIx, uint32_t Baudrate) |
Set Baudrate Prescaler. | |
__STATIC_INLINE uint32_t | LL_SPI_GetBaudRatePrescaler (SPI_TypeDef *SPIx) |
Get Baudrate Prescaler. | |
__STATIC_INLINE void | LL_SPI_SetTransferBitOrder (SPI_TypeDef *SPIx, uint32_t BitOrder) |
Set Transfer Bit Order. | |
__STATIC_INLINE uint32_t | LL_SPI_GetTransferBitOrder (SPI_TypeDef *SPIx) |
Get Transfer Bit Order. | |
__STATIC_INLINE void | LL_SPI_SetTransferDirection (SPI_TypeDef *SPIx, uint32_t TransferDirection) |
Set Transfer Mode. | |
__STATIC_INLINE uint32_t | LL_SPI_GetTransferDirection (SPI_TypeDef *SPIx) |
Get Transfer Mode. | |
__STATIC_INLINE void | LL_SPI_SetHalfDuplexDirection (SPI_TypeDef *SPIx, uint32_t HalfDuplexDirection) |
Set direction for Half-Duplex Mode. | |
__STATIC_INLINE uint32_t | LL_SPI_GetHalfDuplexDirection (SPI_TypeDef *SPIx) |
Get direction for Half-Duplex Mode. | |
__STATIC_INLINE void | LL_SPI_SetDataWidth (SPI_TypeDef *SPIx, uint32_t DataWidth) |
Set Frame Data Size. | |
__STATIC_INLINE uint32_t | LL_SPI_GetDataWidth (SPI_TypeDef *SPIx) |
Get Frame Data Size. | |
__STATIC_INLINE void | LL_SPI_SetFIFOThreshold (SPI_TypeDef *SPIx, uint32_t Threshold) |
Set threshold of FIFO that triggers a transfer event. | |
__STATIC_INLINE uint32_t | LL_SPI_GetFIFOThreshold (SPI_TypeDef *SPIx) |
Get threshold of FIFO that triggers a transfer event. | |
__STATIC_INLINE void | LL_SPI_EnableCRC (SPI_TypeDef *SPIx) |
Enable CRC. | |
__STATIC_INLINE void | LL_SPI_DisableCRC (SPI_TypeDef *SPIx) |
Disable CRC. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledCRC (SPI_TypeDef *SPIx) |
Check if CRC is enabled. | |
__STATIC_INLINE void | LL_SPI_SetCRCWidth (SPI_TypeDef *SPIx, uint32_t CRCLength) |
Set CRC Length. | |
__STATIC_INLINE uint32_t | LL_SPI_GetCRCWidth (SPI_TypeDef *SPIx) |
Get CRC Length. | |
__STATIC_INLINE void | LL_SPI_SetNSSMode (SPI_TypeDef *SPIx, uint32_t NSS) |
Set NSS Mode. | |
__STATIC_INLINE uint32_t | LL_SPI_GetNSSMode (SPI_TypeDef *SPIx) |
Set NSS Mode. | |
__STATIC_INLINE void | LL_SPI_EnableNSSPulseMgt (SPI_TypeDef *SPIx) |
Enable NSS pulse mgt. | |
__STATIC_INLINE void | LL_SPI_DisableNSSPulseMgt (SPI_TypeDef *SPIx) |
Disable NSS pulse mgt. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledNSSPulse (SPI_TypeDef *SPIx) |
Check if NSS pulse is enabled. |
__STATIC_INLINE void LL_SPI_Disable | ( | SPI_TypeDef * | SPIx | ) |
Disable SPI peripheral.
SPIx | SPI Instance |
None |
Definition at line 567 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_DisableCRC | ( | SPI_TypeDef * | SPIx | ) |
Disable CRC.
SPIx | SPI Instance |
None |
Definition at line 1516 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_DisableFullSizeCRC | ( | SPI_TypeDef * | SPIx | ) |
Disable CRC computation on 33/17 bits.
SPIx | SPI Instance |
None |
Definition at line 964 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_DisableGPIOControl | ( | SPI_TypeDef * | SPIx | ) |
Disable GPIO control.
SPIx | SPI Instance |
None |
Definition at line 637 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_DisableGPIOControl().
__STATIC_INLINE void LL_SPI_DisableIOSwap | ( | SPI_TypeDef * | SPIx | ) |
Restore default function for MOSI and MISO pin.
SPIx | SPI Instance |
None |
Definition at line 602 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_DisableIOSwap().
__STATIC_INLINE void LL_SPI_DisableMasterRxAutoSuspend | ( | SPI_TypeDef * | SPIx | ) |
Disable Master Rx auto suspend in case of overrun.
SPIx | SPI Instance |
None |
Definition at line 1030 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_DisableNSSPulseMgt | ( | SPI_TypeDef * | SPIx | ) |
Disable NSS pulse mgt.
SPIx | SPI Instance |
None |
Definition at line 1668 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_Enable | ( | SPI_TypeDef * | SPIx | ) |
Enable SPI peripheral.
SPIx | SPI Instance |
None |
Definition at line 555 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC.
SPIx | SPI Instance |
None |
Definition at line 1505 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableFullSizeCRC | ( | SPI_TypeDef * | SPIx | ) |
Enable CRC computation on 33/17 bits.
SPIx | SPI Instance |
None |
Definition at line 953 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableGPIOControl | ( | SPI_TypeDef * | SPIx | ) |
Enable GPIO control.
SPIx | SPI Instance |
None |
Definition at line 625 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_EnableGPIOControl().
__STATIC_INLINE void LL_SPI_EnableIOLock | ( | SPI_TypeDef * | SPIx | ) |
Lock the AF configuration of associated IOs.
SPIx | SPI Instance |
None |
Definition at line 849 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_EnableIOLock().
__STATIC_INLINE void LL_SPI_EnableIOSwap | ( | SPI_TypeDef * | SPIx | ) |
Swap the MOSI and MISO pin.
SPIx | SPI Instance |
None |
Definition at line 590 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_EnableIOSwap().
__STATIC_INLINE void LL_SPI_EnableMasterRxAutoSuspend | ( | SPI_TypeDef * | SPIx | ) |
Enable Master Rx auto suspend in case of overrun.
SPIx | SPI Instance |
None |
Definition at line 1019 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableNSSPulseMgt | ( | SPI_TypeDef * | SPIx | ) |
Enable NSS pulse mgt.
SPIx | SPI Instance |
None |
Definition at line 1655 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetBaudRatePrescaler | ( | SPI_TypeDef * | SPIx | ) |
Get Baudrate Prescaler.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1257 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetClockPhase | ( | SPI_TypeDef * | SPIx | ) |
Get Clock phase.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1158 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetClockPolarity | ( | SPI_TypeDef * | SPIx | ) |
Get Clock polarity.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1187 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetCRCWidth | ( | SPI_TypeDef * | SPIx | ) |
Get CRC Length.
SPIx | SPI Instance |
Definition at line 1609 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetDataWidth | ( | SPI_TypeDef * | SPIx | ) |
Get Frame Data Size.
SPIx | SPI Instance |
Definition at line 1437 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetFIFOThreshold | ( | SPI_TypeDef * | SPIx | ) |
Get threshold of FIFO that triggers a transfer event.
SPIx | SPI Instance |
Definition at line 1493 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_GetFIFOThreshold().
__STATIC_INLINE uint32_t LL_SPI_GetHalfDuplexDirection | ( | SPI_TypeDef * | SPIx | ) |
Get direction for Half-Duplex Mode.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1355 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetInterDataIdleness | ( | SPI_TypeDef * | SPIx | ) |
Get the configured inter data idleness.
SPIx | SPI Instance |
Definition at line 786 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetInternalSSLevel | ( | SPI_TypeDef * | SPIx | ) |
Get internal SS input level.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 942 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetMasterSSIdleness | ( | SPI_TypeDef * | SPIx | ) |
Get the configured Idleness applied by master.
SPIx | SPI Instance |
Definition at line 731 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetMode | ( | SPI_TypeDef * | SPIx | ) |
Get SPI Mode (Master or Slave)
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 676 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetNSSMode | ( | SPI_TypeDef * | SPIx | ) |
Set NSS Mode.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1642 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetNSSPolarity | ( | SPI_TypeDef * | SPIx | ) |
Get NSS polarity.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1216 of file stm32h7xx_ll_spi.h.
Referenced by LL_SPI_Init().
__STATIC_INLINE uint32_t LL_SPI_GetReloadSize | ( | SPI_TypeDef * | SPIx | ) |
Get reload transfer size.
SPIx | SPI Instance |
0..0xFFFF |
Definition at line 836 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetRxCRCInitPattern | ( | SPI_TypeDef * | SPIx | ) |
Get Rx CRC Initialization Pattern.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 914 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetStandard | ( | SPI_TypeDef * | SPIx | ) |
Get Serial protocol used.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1129 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetTransferBitOrder | ( | SPI_TypeDef * | SPIx | ) |
Get Transfer Bit Order.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1286 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_GetTransferBitOrder().
__STATIC_INLINE uint32_t LL_SPI_GetTransferDirection | ( | SPI_TypeDef * | SPIx | ) |
Get Transfer Mode.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1324 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetTransferSize | ( | SPI_TypeDef * | SPIx | ) |
Get transfer size.
SPIx | SPI Instance |
0..0xFFFF |
Definition at line 811 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetTxCRCInitPattern | ( | SPI_TypeDef * | SPIx | ) |
Get Tx CRC Initialization Pattern.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 887 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetUDRConfiguration | ( | SPI_TypeDef * | SPIx | ) |
Get Underrun behavior.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1071 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetUDRDetection | ( | SPI_TypeDef * | SPIx | ) |
Get Underrun Detection method.
SPIx | SPI Instance |
Returned | value can be one of the following values: |
Definition at line 1101 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsActiveMasterTransfer | ( | SPI_TypeDef * | SPIx | ) |
Check if there is an unfinished master transfer.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 1008 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_IsActiveTransfer().
__STATIC_INLINE uint32_t LL_SPI_IsEnabled | ( | SPI_TypeDef * | SPIx | ) |
Check if SPI peripheral is enabled.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 578 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_Init(), and LL_SPI_Init().
__STATIC_INLINE uint32_t LL_SPI_IsEnabledCRC | ( | SPI_TypeDef * | SPIx | ) |
Check if CRC is enabled.
SPIx | SPI Instance |
State | of bit (1 or 0). |
Definition at line 1527 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledFullSizeCRC | ( | SPI_TypeDef * | SPIx | ) |
Check if Enable CRC computation on 33/17 bits is enabled.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 975 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledGPIOControl | ( | SPI_TypeDef * | SPIx | ) |
Check if GPIO control is active.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 648 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_IsEnabledGPIOControl().
__STATIC_INLINE uint32_t LL_SPI_IsEnabledIOLock | ( | SPI_TypeDef * | SPIx | ) |
Check if the AF configuration is locked.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 860 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_IsEnabledIOLock().
__STATIC_INLINE uint32_t LL_SPI_IsEnabledIOSwap | ( | SPI_TypeDef * | SPIx | ) |
Check if MOSI and MISO pin are swapped.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 613 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_IsEnabledIOSwap().
__STATIC_INLINE uint32_t LL_SPI_IsEnabledMasterRxAutoSuspend | ( | SPI_TypeDef * | SPIx | ) |
Check if Master Rx auto suspend is activated.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 1041 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledNSSPulse | ( | SPI_TypeDef * | SPIx | ) |
Check if NSS pulse is enabled.
SPIx | SPI Instance |
State | of bit (1 or 0) |
Definition at line 1679 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetBaudRatePrescaler | ( | SPI_TypeDef * | SPIx, |
uint32_t | Baudrate | ||
) |
Set Baudrate Prescaler.
SPIx | SPI Instance |
Baudrate | This parameter can be one of the following values: |
None |
Definition at line 1238 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetClockPhase | ( | SPI_TypeDef * | SPIx, |
uint32_t | ClockPhase | ||
) |
Set Clock phase.
SPIx | SPI Instance |
ClockPhase | This parameter can be one of the following values: |
None |
Definition at line 1145 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetClockPolarity | ( | SPI_TypeDef * | SPIx, |
uint32_t | ClockPolarity | ||
) |
Set Clock polarity.
SPIx | SPI Instance |
ClockPolarity | This parameter can be one of the following values: |
None |
Definition at line 1174 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetCRCWidth | ( | SPI_TypeDef * | SPIx, |
uint32_t | CRCLength | ||
) |
Set CRC Length.
None |
Definition at line 1569 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetDataWidth | ( | SPI_TypeDef * | SPIx, |
uint32_t | DataWidth | ||
) |
Set Frame Data Size.
None |
Definition at line 1397 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_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 1466 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_SetFIFOThreshold().
__STATIC_INLINE void LL_SPI_SetHalfDuplexDirection | ( | SPI_TypeDef * | SPIx, |
uint32_t | HalfDuplexDirection | ||
) |
Set direction for Half-Duplex Mode.
SPIx | SPI Instance |
HalfDuplexDirection | This parameter can be one of the following values: |
None |
Definition at line 1341 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetInterDataIdleness | ( | SPI_TypeDef * | SPIx, |
uint32_t | MasterInterDataIdleness | ||
) |
Configure the idleness applied by master between data frame.
SPIx | SPI Instance |
MasterInterDataIdleness | This parameter can be one of the following values:
|
None |
Definition at line 759 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetInternalSSLevel | ( | SPI_TypeDef * | SPIx, |
uint32_t | SSLevel | ||
) |
Set internal SS input level ignoring what comes from PIN.
SPIx | SPI Instance |
SSLevel | This parameter can be one of the following values: |
None |
Definition at line 929 of file stm32h7xx_ll_spi.h.
Referenced by LL_SPI_Init().
__STATIC_INLINE void LL_SPI_SetMasterSSIdleness | ( | SPI_TypeDef * | SPIx, |
uint32_t | MasterSSIdleness | ||
) |
Configure the Idleness applied by master between active edge of SS and first send data.
None |
Definition at line 704 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetMode | ( | SPI_TypeDef * | SPIx, |
uint32_t | Mode | ||
) |
Set SPI Mode to Master or Slave.
SPIx | SPI Instance |
Mode | This parameter can be one of the following values: |
None |
Definition at line 663 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetNSSMode | ( | SPI_TypeDef * | SPIx, |
uint32_t | NSS | ||
) |
Set NSS Mode.
SPIx | SPI Instance |
NSS | This parameter can be one of the following values: |
None |
Definition at line 1627 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetNSSPolarity | ( | SPI_TypeDef * | SPIx, |
uint32_t | NSSPolarity | ||
) |
Set NSS polarity.
SPIx | SPI Instance |
NSSPolarity | This parameter can be one of the following values: |
None |
Definition at line 1203 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetReloadSize | ( | SPI_TypeDef * | SPIx, |
uint32_t | Count | ||
) |
Set reload transfer size.
SPIx | SPI Instance |
Count | 0..0xFFFF |
None |
Definition at line 824 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetRxCRCInitPattern | ( | SPI_TypeDef * | SPIx, |
uint32_t | RXCRCInitAll | ||
) |
Set Rx CRC Initialization Pattern.
SPIx | SPI Instance |
RXCRCInitAll | This parameter can be one of the following values: |
None |
Definition at line 901 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetStandard | ( | SPI_TypeDef * | SPIx, |
uint32_t | Standard | ||
) |
Set Serial protocol used.
SPIx | SPI Instance |
Standard | This parameter can be one of the following values: |
None |
Definition at line 1116 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_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 1273 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_SetTransferBitOrder().
__STATIC_INLINE void LL_SPI_SetTransferDirection | ( | SPI_TypeDef * | SPIx, |
uint32_t | TransferDirection | ||
) |
Set Transfer Mode.
SPIx | SPI Instance |
TransferDirection | This parameter can be one of the following values: |
None |
Definition at line 1306 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetTransferSize | ( | SPI_TypeDef * | SPIx, |
uint32_t | Count | ||
) |
Set transfer size.
SPIx | SPI Instance |
Count | 0..0xFFFF |
None |
Definition at line 799 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetTxCRCInitPattern | ( | SPI_TypeDef * | SPIx, |
uint32_t | TXCRCInitAll | ||
) |
Set Tx CRC Initialization Pattern.
SPIx | SPI Instance |
TXCRCInitAll | This parameter can be one of the following values: |
None |
Definition at line 874 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetUDRConfiguration | ( | SPI_TypeDef * | SPIx, |
uint32_t | UDRConfig | ||
) |
Set Underrun behavior.
SPIx | SPI Instance |
UDRConfig | This parameter can be one of the following values: |
None |
Definition at line 1057 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_SetUDRDetection | ( | SPI_TypeDef * | SPIx, |
uint32_t | UDRDetection | ||
) |
Set Underrun Detection method.
SPIx | SPI Instance |
UDRDetection | This parameter can be one of the following values: |
None |
Definition at line 1087 of file stm32h7xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_StartMasterTransfer | ( | SPI_TypeDef * | SPIx | ) |
Start effective transfer on wire for Master configuration.
SPIx | SPI Instance |
None |
Definition at line 997 of file stm32h7xx_ll_spi.h.
Referenced by LL_I2S_StartTransfer().
__STATIC_INLINE void LL_SPI_SuspendMasterTransfer | ( | SPI_TypeDef * | SPIx | ) |
Suspend an ongoing transfer for Master configuration.
SPIx | SPI Instance |
None |
Definition at line 986 of file stm32h7xx_ll_spi.h.