Reference Manual to
LL API cross
reference:
CR1 SMBUS LL_I2C_SetMode
CR1 SMBTYPE LL_I2C_SetMode
CR1 ENARP LL_I2C_SetMode
LL_I2C_GetMode
__STATIC_INLINE uint32_t LL_I2C_GetMode (I2C_TypeDef *
I2Cx)
Returned: value can be one of the following values:
LL_I2C_MODE_I2C
LL_I2C_MODE_SMBUS_HOST
LL_I2C_MODE_SMBUS_DEVICE
LL_I2C_MODE_SMBUS_DEVICE_ARP
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 SMBUS LL_I2C_GetMode
CR1 SMBTYPE LL_I2C_GetMode
CR1 ENARP LL_I2C_GetMode
LL_I2C_EnableSMBusAlert
__STATIC_INLINE void LL_I2C_EnableSMBusAlert
(I2C_TypeDef * I2Cx)
Enable SMBus alert (Host or Device mode)
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 drived low and Alert
Response Address Header acknowledge is enabled. SMBus
Host mode:SMBus Alert pin management is supported.
Reference Manual to
LL API cross
reference:
CR1 ALERT LL_I2C_EnableSMBusAlert
LL_I2C_DisableSMBusAlert
__STATIC_INLINE void LL_I2C_DisableSMBusAlert
(I2C_TypeDef * I2Cx)
Disable SMBus alert (Host or Device mode)