Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to
check whether or not SMBus feature is supported by the I2Cx
Instance.
SMBus Device mode: SMBus Alert pin is not drived (can be
used as a standard GPIO) and Alert Response Address
Header acknowledge is disabled. SMBus Host mode:SMBus
Alert pin management is not supported.
Reference Manual to
LL API cross
reference:
CR1 ALERT LL_I2C_DisableSMBusAlert
LL_I2C_IsEnabledSMBusAlert
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusAlert
(I2C_TypeDef * I2Cx)
Check if SMBus alert (Host or Device mode) is enabled or
disabled.
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to
check whether or not SMBus feature is supported by the I2Cx
Instance.
Reference Manual to
LL API cross
reference:
CR1 ALERT LL_I2C_IsEnabledSMBusAlert
LL_I2C_EnableSMBusPEC
__STATIC_INLINE void LL_I2C_EnableSMBusPEC
(I2C_TypeDef * I2Cx)
Enable SMBus Packet Error Calculation (PEC).
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to
check whether or not SMBus feature is supported by the I2Cx
Instance.
Reference Manual to
LL API cross
reference:
CR1 ENPEC LL_I2C_EnableSMBusPEC
LL_I2C_DisableSMBusPEC
__STATIC_INLINE void LL_I2C_DisableSMBusPEC
(I2C_TypeDef * I2Cx)
Disable SMBus Packet Error Calculation (PEC).