STM32H735xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_I2C_Enable (I2C_TypeDef *I2Cx) |
Enable I2C peripheral (PE = 1). | |
__STATIC_INLINE void | LL_I2C_Disable (I2C_TypeDef *I2Cx) |
Disable I2C peripheral (PE = 0). | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabled (I2C_TypeDef *I2Cx) |
Check if the I2C peripheral is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_ConfigFilters (I2C_TypeDef *I2Cx, uint32_t AnalogFilter, uint32_t DigitalFilter) |
Configure Noise Filters (Analog and Digital). | |
__STATIC_INLINE void | LL_I2C_SetDigitalFilter (I2C_TypeDef *I2Cx, uint32_t DigitalFilter) |
Configure Digital Noise Filter. | |
__STATIC_INLINE uint32_t | LL_I2C_GetDigitalFilter (I2C_TypeDef *I2Cx) |
Get the current Digital Noise Filter configuration. | |
__STATIC_INLINE void | LL_I2C_EnableAnalogFilter (I2C_TypeDef *I2Cx) |
Enable Analog Noise Filter. | |
__STATIC_INLINE void | LL_I2C_DisableAnalogFilter (I2C_TypeDef *I2Cx) |
Disable Analog Noise Filter. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledAnalogFilter (I2C_TypeDef *I2Cx) |
Check if Analog Noise Filter is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_EnableDMAReq_TX (I2C_TypeDef *I2Cx) |
Enable DMA transmission requests. | |
__STATIC_INLINE void | LL_I2C_DisableDMAReq_TX (I2C_TypeDef *I2Cx) |
Disable DMA transmission requests. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledDMAReq_TX (I2C_TypeDef *I2Cx) |
Check if DMA transmission requests are enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_EnableDMAReq_RX (I2C_TypeDef *I2Cx) |
Enable DMA reception requests. | |
__STATIC_INLINE void | LL_I2C_DisableDMAReq_RX (I2C_TypeDef *I2Cx) |
Disable DMA reception requests. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledDMAReq_RX (I2C_TypeDef *I2Cx) |
Check if DMA reception requests are enabled or disabled. | |
__STATIC_INLINE uint32_t | LL_I2C_DMA_GetRegAddr (I2C_TypeDef *I2Cx, uint32_t Direction) |
Get the data register address used for DMA transfer. | |
__STATIC_INLINE void | LL_I2C_EnableClockStretching (I2C_TypeDef *I2Cx) |
Enable Clock stretching. | |
__STATIC_INLINE void | LL_I2C_DisableClockStretching (I2C_TypeDef *I2Cx) |
Disable Clock stretching. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledClockStretching (I2C_TypeDef *I2Cx) |
Check if Clock stretching is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_EnableSlaveByteControl (I2C_TypeDef *I2Cx) |
Enable hardware byte control in slave mode. | |
__STATIC_INLINE void | LL_I2C_DisableSlaveByteControl (I2C_TypeDef *I2Cx) |
Disable hardware byte control in slave mode. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledSlaveByteControl (I2C_TypeDef *I2Cx) |
Check if hardware byte control in slave mode is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_EnableWakeUpFromStop (I2C_TypeDef *I2Cx) |
Enable Wakeup from STOP. | |
__STATIC_INLINE void | LL_I2C_DisableWakeUpFromStop (I2C_TypeDef *I2Cx) |
Disable Wakeup from STOP. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledWakeUpFromStop (I2C_TypeDef *I2Cx) |
Check if Wakeup from STOP is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_EnableGeneralCall (I2C_TypeDef *I2Cx) |
Enable General Call. | |
__STATIC_INLINE void | LL_I2C_DisableGeneralCall (I2C_TypeDef *I2Cx) |
Disable General Call. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledGeneralCall (I2C_TypeDef *I2Cx) |
Check if General Call is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_SetMasterAddressingMode (I2C_TypeDef *I2Cx, uint32_t AddressingMode) |
Configure the Master to operate in 7-bit or 10-bit addressing mode. | |
__STATIC_INLINE uint32_t | LL_I2C_GetMasterAddressingMode (I2C_TypeDef *I2Cx) |
Get the Master addressing mode. | |
__STATIC_INLINE void | LL_I2C_SetOwnAddress1 (I2C_TypeDef *I2Cx, uint32_t OwnAddress1, uint32_t OwnAddrSize) |
Set the Own Address1. | |
__STATIC_INLINE void | LL_I2C_EnableOwnAddress1 (I2C_TypeDef *I2Cx) |
Enable acknowledge on Own Address1 match address. | |
__STATIC_INLINE void | LL_I2C_DisableOwnAddress1 (I2C_TypeDef *I2Cx) |
Disable acknowledge on Own Address1 match address. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledOwnAddress1 (I2C_TypeDef *I2Cx) |
Check if Own Address1 acknowledge is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_SetOwnAddress2 (I2C_TypeDef *I2Cx, uint32_t OwnAddress2, uint32_t OwnAddrMask) |
Set the 7bits Own Address2. | |
__STATIC_INLINE void | LL_I2C_EnableOwnAddress2 (I2C_TypeDef *I2Cx) |
Enable acknowledge on Own Address2 match address. | |
__STATIC_INLINE void | LL_I2C_DisableOwnAddress2 (I2C_TypeDef *I2Cx) |
Disable acknowledge on Own Address2 match address. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledOwnAddress2 (I2C_TypeDef *I2Cx) |
Check if Own Address1 acknowledge is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_SetTiming (I2C_TypeDef *I2Cx, uint32_t Timing) |
Configure the SDA setup, hold time and the SCL high, low period. | |
__STATIC_INLINE uint32_t | LL_I2C_GetTimingPrescaler (I2C_TypeDef *I2Cx) |
Get the Timing Prescaler setting. | |
__STATIC_INLINE uint32_t | LL_I2C_GetClockLowPeriod (I2C_TypeDef *I2Cx) |
Get the SCL low period setting. | |
__STATIC_INLINE uint32_t | LL_I2C_GetClockHighPeriod (I2C_TypeDef *I2Cx) |
Get the SCL high period setting. | |
__STATIC_INLINE uint32_t | LL_I2C_GetDataHoldTime (I2C_TypeDef *I2Cx) |
Get the SDA hold time. | |
__STATIC_INLINE uint32_t | LL_I2C_GetDataSetupTime (I2C_TypeDef *I2Cx) |
Get the SDA setup time. | |
__STATIC_INLINE void | LL_I2C_SetMode (I2C_TypeDef *I2Cx, uint32_t PeripheralMode) |
Configure peripheral mode. | |
__STATIC_INLINE uint32_t | LL_I2C_GetMode (I2C_TypeDef *I2Cx) |
Get peripheral mode. | |
__STATIC_INLINE void | LL_I2C_EnableSMBusAlert (I2C_TypeDef *I2Cx) |
Enable SMBus alert (Host or Device mode) | |
__STATIC_INLINE void | LL_I2C_DisableSMBusAlert (I2C_TypeDef *I2Cx) |
Disable SMBus alert (Host or Device mode) | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledSMBusAlert (I2C_TypeDef *I2Cx) |
Check if SMBus alert (Host or Device mode) is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_EnableSMBusPEC (I2C_TypeDef *I2Cx) |
Enable SMBus Packet Error Calculation (PEC). | |
__STATIC_INLINE void | LL_I2C_DisableSMBusPEC (I2C_TypeDef *I2Cx) |
Disable SMBus Packet Error Calculation (PEC). | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledSMBusPEC (I2C_TypeDef *I2Cx) |
Check if SMBus Packet Error Calculation (PEC) is enabled or disabled. | |
__STATIC_INLINE void | LL_I2C_ConfigSMBusTimeout (I2C_TypeDef *I2Cx, uint32_t TimeoutA, uint32_t TimeoutAMode, uint32_t TimeoutB) |
Configure the SMBus Clock Timeout. | |
__STATIC_INLINE void | LL_I2C_SetSMBusTimeoutA (I2C_TypeDef *I2Cx, uint32_t TimeoutA) |
Configure the SMBus Clock TimeoutA (SCL low timeout or SCL and SDA high timeout depends on TimeoutA mode). | |
__STATIC_INLINE uint32_t | LL_I2C_GetSMBusTimeoutA (I2C_TypeDef *I2Cx) |
Get the SMBus Clock TimeoutA setting. | |
__STATIC_INLINE void | LL_I2C_SetSMBusTimeoutAMode (I2C_TypeDef *I2Cx, uint32_t TimeoutAMode) |
Set the SMBus Clock TimeoutA mode. | |
__STATIC_INLINE uint32_t | LL_I2C_GetSMBusTimeoutAMode (I2C_TypeDef *I2Cx) |
Get the SMBus Clock TimeoutA mode. | |
__STATIC_INLINE void | LL_I2C_SetSMBusTimeoutB (I2C_TypeDef *I2Cx, uint32_t TimeoutB) |
Configure the SMBus Extended Cumulative Clock TimeoutB (Master or Slave mode). | |
__STATIC_INLINE uint32_t | LL_I2C_GetSMBusTimeoutB (I2C_TypeDef *I2Cx) |
Get the SMBus Extended Cumulative Clock TimeoutB setting. | |
__STATIC_INLINE void | LL_I2C_EnableSMBusTimeout (I2C_TypeDef *I2Cx, uint32_t ClockTimeout) |
Enable the SMBus Clock Timeout. | |
__STATIC_INLINE void | LL_I2C_DisableSMBusTimeout (I2C_TypeDef *I2Cx, uint32_t ClockTimeout) |
Disable the SMBus Clock Timeout. | |
__STATIC_INLINE uint32_t | LL_I2C_IsEnabledSMBusTimeout (I2C_TypeDef *I2Cx, uint32_t ClockTimeout) |
Check if the SMBus Clock Timeout is enabled or disabled. |
__STATIC_INLINE void LL_I2C_ConfigFilters | ( | I2C_TypeDef * | I2Cx, |
uint32_t | AnalogFilter, | ||
uint32_t | DigitalFilter | ||
) |
Configure Noise Filters (Analog and Digital).
I2Cx | I2C Instance. |
AnalogFilter | This parameter can be one of the following values: |
DigitalFilter | This parameter must be a value between Min_Data=0x00 (Digital filter disabled) and Max_Data=0x0F (Digital filter enabled and filtering capability up to 15*ti2cclk). This parameter is used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0]*ti2cclk. |
None |
Definition at line 475 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_ConfigSMBusTimeout | ( | I2C_TypeDef * | I2Cx, |
uint32_t | TimeoutA, | ||
uint32_t | TimeoutAMode, | ||
uint32_t | TimeoutB | ||
) |
Configure the SMBus Clock Timeout.
I2Cx | I2C Instance. |
TimeoutA | This parameter must be a value between Min_Data=0 and Max_Data=0xFFF. |
TimeoutAMode | This parameter can be one of the following values: |
TimeoutB |
None |
Definition at line 1123 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_Disable | ( | I2C_TypeDef * | I2Cx | ) |
Disable I2C peripheral (PE = 0).
I2Cx | I2C Instance. |
None |
Definition at line 443 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_DisableAnalogFilter | ( | I2C_TypeDef * | I2Cx | ) |
Disable Analog Noise Filter.
I2Cx | I2C Instance. |
None |
Definition at line 527 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableClockStretching | ( | I2C_TypeDef * | I2Cx | ) |
Disable Clock stretching.
I2Cx | I2C Instance. |
None |
Definition at line 656 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableDMAReq_RX | ( | I2C_TypeDef * | I2Cx | ) |
Disable DMA reception requests.
I2Cx | I2C Instance. |
None |
Definition at line 593 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableDMAReq_TX | ( | I2C_TypeDef * | I2Cx | ) |
Disable DMA transmission requests.
I2Cx | I2C Instance. |
None |
Definition at line 560 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableGeneralCall | ( | I2C_TypeDef * | I2Cx | ) |
Disable General Call.
I2Cx | I2C Instance. |
None |
Definition at line 764 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableOwnAddress1 | ( | I2C_TypeDef * | I2Cx | ) |
Disable acknowledge on Own Address1 match address.
I2Cx | I2C Instance. |
None |
Definition at line 841 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_DisableOwnAddress2 | ( | I2C_TypeDef * | I2Cx | ) |
Disable acknowledge on Own Address2 match address.
I2Cx | I2C Instance. |
None |
Definition at line 897 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableSlaveByteControl | ( | I2C_TypeDef * | I2Cx | ) |
Disable hardware byte control in slave mode.
I2Cx | I2C Instance. |
None |
Definition at line 689 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableSMBusAlert | ( | I2C_TypeDef * | I2Cx | ) |
Disable SMBus alert (Host or Device mode)
I2Cx | I2C Instance. |
None |
Definition at line 1050 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Disable SMBus Packet Error Calculation (PEC).
I2Cx | I2C Instance. |
None |
Definition at line 1089 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableSMBusTimeout | ( | I2C_TypeDef * | I2Cx, |
uint32_t | ClockTimeout | ||
) |
Disable the SMBus Clock Timeout.
I2Cx | I2C Instance. |
ClockTimeout | This parameter can be one of the following values: |
None |
Definition at line 1249 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_DisableWakeUpFromStop | ( | I2C_TypeDef * | I2Cx | ) |
Disable Wakeup from STOP.
I2Cx | I2C Instance. |
None |
Definition at line 727 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_DMA_GetRegAddr | ( | I2C_TypeDef * | I2Cx, |
uint32_t | Direction | ||
) |
Get the data register address used for DMA transfer.
I2Cx | I2C Instance |
Direction | This parameter can be one of the following values: |
Address | of data register |
Definition at line 619 of file stm32h7xx_ll_i2c.h.
References LL_I2C_DMA_REG_DATA_TRANSMIT.
__STATIC_INLINE void LL_I2C_Enable | ( | I2C_TypeDef * | I2Cx | ) |
Enable I2C peripheral (PE = 1).
I2Cx | I2C Instance. |
None |
Definition at line 429 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_EnableAnalogFilter | ( | I2C_TypeDef * | I2Cx | ) |
Enable Analog Noise Filter.
I2Cx | I2C Instance. |
None |
Definition at line 515 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableClockStretching | ( | I2C_TypeDef * | I2Cx | ) |
Enable Clock stretching.
I2Cx | I2C Instance. |
None |
Definition at line 644 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableDMAReq_RX | ( | I2C_TypeDef * | I2Cx | ) |
Enable DMA reception requests.
I2Cx | I2C Instance. |
None |
Definition at line 582 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableDMAReq_TX | ( | I2C_TypeDef * | I2Cx | ) |
Enable DMA transmission requests.
I2Cx | I2C Instance. |
None |
Definition at line 549 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableGeneralCall | ( | I2C_TypeDef * | I2Cx | ) |
Enable General Call.
I2Cx | I2C Instance. |
None |
Definition at line 752 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableOwnAddress1 | ( | I2C_TypeDef * | I2Cx | ) |
Enable acknowledge on Own Address1 match address.
I2Cx | I2C Instance. |
None |
Definition at line 830 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_EnableOwnAddress2 | ( | I2C_TypeDef * | I2Cx | ) |
Enable acknowledge on Own Address2 match address.
I2Cx | I2C Instance. |
None |
Definition at line 886 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableSlaveByteControl | ( | I2C_TypeDef * | I2Cx | ) |
Enable hardware byte control in slave mode.
I2Cx | I2C Instance. |
None |
Definition at line 678 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableSMBusAlert | ( | I2C_TypeDef * | I2Cx | ) |
Enable SMBus alert (Host or Device mode)
I2Cx | I2C Instance. |
None |
Definition at line 1032 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Enable SMBus Packet Error Calculation (PEC).
I2Cx | I2C Instance. |
None |
Definition at line 1076 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableSMBusTimeout | ( | I2C_TypeDef * | I2Cx, |
uint32_t | ClockTimeout | ||
) |
Enable the SMBus Clock Timeout.
I2Cx | I2C Instance. |
ClockTimeout | This parameter can be one of the following values: |
None |
Definition at line 1231 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_EnableWakeUpFromStop | ( | I2C_TypeDef * | I2Cx | ) |
Enable Wakeup from STOP.
I2Cx | I2C Instance. |
None |
Definition at line 714 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetClockHighPeriod | ( | I2C_TypeDef * | I2Cx | ) |
Get the SCL high period setting.
I2Cx | I2C Instance. |
Value | between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 955 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetClockLowPeriod | ( | I2C_TypeDef * | I2Cx | ) |
Get the SCL low period setting.
I2Cx | I2C Instance. |
Value | between Min_Data=0x00 and Max_Data=0xFF |
Definition at line 944 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetDataHoldTime | ( | I2C_TypeDef * | I2Cx | ) |
Get the SDA hold time.
I2Cx | I2C Instance. |
Value | between Min_Data=0x0 and Max_Data=0xF |
Definition at line 966 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetDataSetupTime | ( | I2C_TypeDef * | I2Cx | ) |
Get the SDA setup time.
I2Cx | I2C Instance. |
Value | between Min_Data=0x0 and Max_Data=0xF |
Definition at line 977 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetDigitalFilter | ( | I2C_TypeDef * | I2Cx | ) |
Get the current Digital Noise Filter configuration.
I2Cx | I2C Instance. |
Value | between Min_Data=0x0 and Max_Data=0xF |
Definition at line 503 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetMasterAddressingMode | ( | I2C_TypeDef * | I2Cx | ) |
Get the Master addressing mode.
I2Cx | I2C Instance. |
Returned | value can be one of the following values: |
Definition at line 803 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetMode | ( | I2C_TypeDef * | I2Cx | ) |
Get peripheral mode.
I2Cx | I2C Instance. |
Returned | value can be one of the following values: |
Definition at line 1014 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetSMBusTimeoutA | ( | I2C_TypeDef * | I2Cx | ) |
Get the SMBus Clock TimeoutA setting.
I2Cx | I2C Instance. |
Value | between Min_Data=0 and Max_Data=0xFFF |
Definition at line 1153 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetSMBusTimeoutAMode | ( | I2C_TypeDef * | I2Cx | ) |
Get the SMBus Clock TimeoutA mode.
I2Cx | I2C Instance. |
Returned | value can be one of the following values: |
Definition at line 1185 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetSMBusTimeoutB | ( | I2C_TypeDef * | I2Cx | ) |
Get the SMBus Extended Cumulative Clock TimeoutB setting.
I2Cx | I2C Instance. |
Value | between Min_Data=0 and Max_Data=0xFFF |
Definition at line 1213 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_GetTimingPrescaler | ( | I2C_TypeDef * | I2Cx | ) |
Get the Timing Prescaler setting.
I2Cx | I2C Instance. |
Value | between Min_Data=0x0 and Max_Data=0xF |
Definition at line 933 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabled | ( | I2C_TypeDef * | I2Cx | ) |
Check if the I2C peripheral is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 454 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledAnalogFilter | ( | I2C_TypeDef * | I2Cx | ) |
Check if Analog Noise Filter is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 538 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledClockStretching | ( | I2C_TypeDef * | I2Cx | ) |
Check if Clock stretching is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 667 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledDMAReq_RX | ( | I2C_TypeDef * | I2Cx | ) |
Check if DMA reception requests are enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 604 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledDMAReq_TX | ( | I2C_TypeDef * | I2Cx | ) |
Check if DMA transmission requests are enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 571 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledGeneralCall | ( | I2C_TypeDef * | I2Cx | ) |
Check if General Call is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 775 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledOwnAddress1 | ( | I2C_TypeDef * | I2Cx | ) |
Check if Own Address1 acknowledge is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 852 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledOwnAddress2 | ( | I2C_TypeDef * | I2Cx | ) |
Check if Own Address1 acknowledge is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 908 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSlaveByteControl | ( | I2C_TypeDef * | I2Cx | ) |
Check if hardware byte control in slave mode is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 700 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusAlert | ( | I2C_TypeDef * | I2Cx | ) |
Check if SMBus alert (Host or Device mode) is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 1063 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusPEC | ( | I2C_TypeDef * | I2Cx | ) |
Check if SMBus Packet Error Calculation (PEC) is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 1102 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusTimeout | ( | I2C_TypeDef * | I2Cx, |
uint32_t | ClockTimeout | ||
) |
Check if the SMBus Clock Timeout is enabled or disabled.
I2Cx | I2C Instance. |
ClockTimeout | This parameter can be one of the following values: |
State | of bit (1 or 0). |
Definition at line 1267 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE uint32_t LL_I2C_IsEnabledWakeUpFromStop | ( | I2C_TypeDef * | I2Cx | ) |
Check if Wakeup from STOP is enabled or disabled.
I2Cx | I2C Instance. |
State | of bit (1 or 0). |
Definition at line 740 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetDigitalFilter | ( | I2C_TypeDef * | I2Cx, |
uint32_t | DigitalFilter | ||
) |
Configure Digital Noise Filter.
I2Cx | I2C Instance. |
DigitalFilter | This parameter must be a value between Min_Data=0x00 (Digital filter disabled) and Max_Data=0x0F (Digital filter enabled and filtering capability up to 15*ti2cclk). This parameter is used to configure the digital noise filter on SDA and SCL input. The digital filter will filter spikes with a length of up to DNF[3:0]*ti2cclk. |
None |
Definition at line 492 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetMasterAddressingMode | ( | I2C_TypeDef * | I2Cx, |
uint32_t | AddressingMode | ||
) |
Configure the Master to operate in 7-bit or 10-bit addressing mode.
I2Cx | I2C Instance. |
AddressingMode | This parameter can be one of the following values: |
None |
Definition at line 790 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetMode | ( | I2C_TypeDef * | I2Cx, |
uint32_t | PeripheralMode | ||
) |
Configure peripheral mode.
I2Cx | I2C Instance. |
PeripheralMode | This parameter can be one of the following values: |
None |
Definition at line 996 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_SetOwnAddress1 | ( | I2C_TypeDef * | I2Cx, |
uint32_t | OwnAddress1, | ||
uint32_t | OwnAddrSize | ||
) |
Set the Own Address1.
I2Cx | I2C Instance. |
OwnAddress1 | This parameter must be a value between Min_Data=0 and Max_Data=0x3FF. |
OwnAddrSize | This parameter can be one of the following values: |
None |
Definition at line 819 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().
__STATIC_INLINE void LL_I2C_SetOwnAddress2 | ( | I2C_TypeDef * | I2Cx, |
uint32_t | OwnAddress2, | ||
uint32_t | OwnAddrMask | ||
) |
Set the 7bits Own Address2.
I2Cx | I2C Instance. |
OwnAddress2 | Value between Min_Data=0 and Max_Data=0x7F. |
OwnAddrMask | This parameter can be one of the following values: |
None |
Definition at line 875 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetSMBusTimeoutA | ( | I2C_TypeDef * | I2Cx, |
uint32_t | TimeoutA | ||
) |
Configure the SMBus Clock TimeoutA (SCL low timeout or SCL and SDA high timeout depends on TimeoutA mode).
I2Cx | I2C Instance. |
TimeoutA | This parameter must be a value between Min_Data=0 and Max_Data=0xFFF. |
None |
Definition at line 1140 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetSMBusTimeoutAMode | ( | I2C_TypeDef * | I2Cx, |
uint32_t | TimeoutAMode | ||
) |
Set the SMBus Clock TimeoutA mode.
I2Cx | I2C Instance. |
TimeoutAMode | This parameter can be one of the following values: |
None |
Definition at line 1170 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetSMBusTimeoutB | ( | I2C_TypeDef * | I2Cx, |
uint32_t | TimeoutB | ||
) |
Configure the SMBus Extended Cumulative Clock TimeoutB (Master or Slave mode).
I2Cx | I2C Instance. |
TimeoutB | This parameter must be a value between Min_Data=0 and Max_Data=0xFFF. |
None |
Definition at line 1200 of file stm32h7xx_ll_i2c.h.
__STATIC_INLINE void LL_I2C_SetTiming | ( | I2C_TypeDef * | I2Cx, |
uint32_t | Timing | ||
) |
Configure the SDA setup, hold time and the SCL high, low period.
I2Cx | I2C Instance. |
Timing | This parameter must be a value between Min_Data=0 and Max_Data=0xFFFFFFFF. |
None |
Definition at line 922 of file stm32h7xx_ll_i2c.h.
Referenced by LL_I2C_Init().