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 #961 background imageLoading...
Page #961 background image
UM1940
LL I2C Generic Driver
DocID028236 Rev 2
961/1371
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.
Any of these errors will generate interrupt : Bus Error
detection (BERR) Arbitration Loss (ARLO) Acknowledge
Failure(AF) Overrun/Underrun (OVR) SMBus Timeout
detection (TIMEOUT) SMBus PEC error detection (PECERR)
SMBus Alert pin event detection (SMBALERT)
Reference Manual to
LL API cross
reference:
CR2 ITERREN LL_I2C_EnableIT_ERR
LL_I2C_DisableIT_ERR
Function name
__STATIC_INLINE void LL_I2C_DisableIT_ERR (I2C_TypeDef *
I2Cx)
Function description
Disable Error interrupts.
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.
Any of these errors will generate interrupt : Bus Error
detection (BERR) Arbitration Loss (ARLO) Acknowledge
Failure(AF) Overrun/Underrun (OVR) SMBus Timeout
detection (TIMEOUT) SMBus PEC error detection (PECERR)
SMBus Alert pin event detection (SMBALERT)
Reference Manual to
LL API cross
reference:
CR2 ITERREN LL_I2C_DisableIT_ERR
LL_I2C_IsEnabledIT_ERR
Function name
__STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_ERR
(I2C_TypeDef * I2Cx)
Function description
Check if Error interrupts are enabled or disabled.
Parameters
I2Cx: I2C Instance.
Return values
State: of bit (1 or 0).
Reference Manual to
LL API cross
reference:
CR2 ITERREN LL_I2C_IsEnabledIT_ERR
LL_I2C_IsActiveFlag_TXE
Function name
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_TXE
(I2C_TypeDef * I2Cx)
Function description
Indicate the status of Transmit data register empty flag.

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