EasyManua.ls Logo

ST STM32F2 - LlI2 CIsactiveflagBusy; LlI2 CIsactiveflagDual; LlI2 CIsactivesmbusflagSmbhost

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
966/1371
DocID028236 Rev 2
LL_I2C_IsActiveFlag_BUSY
Function name
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_BUSY
(I2C_TypeDef * I2Cx)
Function description
Indicate the status of Bus Busy flag.
Parameters
I2Cx: I2C Instance.
Return values
State: of bit (1 or 0).
Notes
RESET: Clear default value. SET: When a Start condition is
detected.
Reference Manual to
LL API cross
reference:
SR2 BUSY LL_I2C_IsActiveFlag_BUSY
LL_I2C_IsActiveFlag_DUAL
Function name
__STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_DUAL
(I2C_TypeDef * I2Cx)
Function description
Indicate the status of Dual flag.
Parameters
I2Cx: I2C Instance.
Return values
State: of bit (1 or 0).
Notes
RESET: Received address matched with OAR1. SET:
Received address matched with OAR2.
Reference Manual to
LL API cross
reference:
SR2 DUALF LL_I2C_IsActiveFlag_DUAL
LL_I2C_IsActiveSMBusFlag_SMBHOST
Function name
__STATIC_INLINE uint32_t
LL_I2C_IsActiveSMBusFlag_SMBHOST (I2C_TypeDef * I2Cx)
Function description
Indicate the status of SMBus Host address reception (Slave
mode).
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.
RESET: No SMBus Host address SET: SMBus Host address
received.
This status is cleared by hardware after a STOP condition or
repeated START condition.
Reference Manual to
LL API cross
reference:
SR2 SMBHOST LL_I2C_IsActiveSMBusFlag_SMBHOST

Table of Contents

Related product manuals