LL_I2C_EnableSMBusPECCompare
__STATIC_INLINE void LL_I2C_EnableSMBusPECCompare
(I2C_TypeDef * I2Cx)
Enable transfer or internal comparison of the SMBus Packet Error
byte (transmission or reception mode).
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to
check whether or not SMBus feature is supported by the I2Cx
Instance.
This feature is cleared by hardware when the PEC byte is
transferred or compared, or by a START or STOP condition, it
is also cleared by software.
Reference Manual to
LL API cross
reference:
CR1 PEC LL_I2C_EnableSMBusPECCompare
LL_I2C_DisableSMBusPECCompare
__STATIC_INLINE void LL_I2C_DisableSMBusPECCompare
(I2C_TypeDef * I2Cx)
Disable transfer or internal comparison of the SMBus Packet Error
byte (transmission or reception mode).
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 PEC LL_I2C_DisableSMBusPECCompare
LL_I2C_IsEnabledSMBusPECCompare
__STATIC_INLINE uint32_t
LL_I2C_IsEnabledSMBusPECCompare (I2C_TypeDef * I2Cx)
Check if the SMBus Packet Error byte transfer or internal
comparison is requested or not.
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to
check whether or not SMBus feature is supported by the I2Cx
Instance.