EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LL I2C Generic Driver
UM1940
974/1371
DocID028236 Rev 2
LL API cross
reference:
LL_I2C_EnableSMBusPECCompare
Function name
__STATIC_INLINE void LL_I2C_EnableSMBusPECCompare
(I2C_TypeDef * I2Cx)
Function description
Enable transfer or internal comparison of the SMBus Packet Error
byte (transmission or reception mode).
Parameters
I2Cx: I2C Instance.
Return values
None:
Notes
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
Function name
__STATIC_INLINE void LL_I2C_DisableSMBusPECCompare
(I2C_TypeDef * I2Cx)
Function description
Disable transfer or internal comparison of the SMBus Packet Error
byte (transmission or reception mode).
Parameters
I2Cx: I2C Instance.
Return values
None:
Notes
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
Function name
__STATIC_INLINE uint32_t
LL_I2C_IsEnabledSMBusPECCompare (I2C_TypeDef * I2Cx)
Function description
Check if the SMBus Packet Error byte transfer or internal
comparison is requested or not.
Parameters
I2Cx: I2C Instance.
Return values
State: of bit (1 or 0).
Notes
Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to
check whether or not SMBus feature is supported by the I2Cx
Instance.

Table of Contents

Related product manuals