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 #956 background imageLoading...
Page #956 background image
LL I2C Generic Driver
UM1940
956/1371
DocID028236 Rev 2
Notes
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
Function name
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusAlert
(I2C_TypeDef * I2Cx)
Function description
Check if SMBus alert (Host or Device mode) is enabled or
disabled.
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.
Reference Manual to
LL API cross
reference:
CR1 ALERT LL_I2C_IsEnabledSMBusAlert
LL_I2C_EnableSMBusPEC
Function name
__STATIC_INLINE void LL_I2C_EnableSMBusPEC
(I2C_TypeDef * I2Cx)
Function description
Enable SMBus Packet Error Calculation (PEC).
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 ENPEC LL_I2C_EnableSMBusPEC
LL_I2C_DisableSMBusPEC
Function name
__STATIC_INLINE void LL_I2C_DisableSMBusPEC
(I2C_TypeDef * I2Cx)
Function description
Disable SMBus Packet Error Calculation (PEC).
Parameters
I2Cx: I2C Instance.
Return values
None:

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