EasyManuals Logo

ST STM32F2 User Manual

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
Page #974 background imageLoading...
Page #974 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals