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...
UM1940
LL I2C Generic Driver
DocID028236 Rev 2
957/1371
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_DisableSMBusPEC
LL_I2C_IsEnabledSMBusPEC
Function name
__STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusPEC
(I2C_TypeDef * I2Cx)
Function description
Check if SMBus Packet Error Calculation (PEC) 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 ENPEC LL_I2C_IsEnabledSMBusPEC
LL_I2C_EnableIT_TX
Function name
__STATIC_INLINE void LL_I2C_EnableIT_TX (I2C_TypeDef *
I2Cx)
Function description
Enable TXE interrupt.
Parameters
I2Cx: I2C Instance.
Return values
None:
Reference Manual to
LL API cross
reference:
CR2 ITEVTEN LL_I2C_EnableIT_TX
CR2 ITBUFEN LL_I2C_EnableIT_TX
LL_I2C_DisableIT_TX
Function name
__STATIC_INLINE void LL_I2C_DisableIT_TX (I2C_TypeDef *
I2Cx)
Function description
Disable TXE interrupt.
Parameters
I2Cx: I2C Instance.
Return values
None:
Reference Manual to
LL API cross
reference:
CR2 ITEVTEN LL_I2C_DisableIT_TX
CR2 ITBUFEN LL_I2C_DisableIT_TX

Table of Contents

Related product manuals