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 #955 background imageLoading...
Page #955 background image
UM1940
LL I2C Generic Driver
DocID028236 Rev 2
955/1371
Reference Manual to
LL API cross
reference:
CR1 SMBUS LL_I2C_SetMode
CR1 SMBTYPE LL_I2C_SetMode
CR1 ENARP LL_I2C_SetMode
LL_I2C_GetMode
Function name
__STATIC_INLINE uint32_t LL_I2C_GetMode (I2C_TypeDef *
I2Cx)
Function description
Get peripheral mode.
Parameters
I2Cx: I2C Instance.
Return values
Returned: value can be one of the following values:
LL_I2C_MODE_I2C
LL_I2C_MODE_SMBUS_HOST
LL_I2C_MODE_SMBUS_DEVICE
LL_I2C_MODE_SMBUS_DEVICE_ARP
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 SMBUS LL_I2C_GetMode
CR1 SMBTYPE LL_I2C_GetMode
CR1 ENARP LL_I2C_GetMode
LL_I2C_EnableSMBusAlert
Function name
__STATIC_INLINE void LL_I2C_EnableSMBusAlert
(I2C_TypeDef * I2Cx)
Function description
Enable SMBus alert (Host or Device 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.
SMBus Device mode: SMBus Alert pin is drived low and Alert
Response Address Header acknowledge is enabled. SMBus
Host mode:SMBus Alert pin management is supported.
Reference Manual to
LL API cross
reference:
CR1 ALERT LL_I2C_EnableSMBusAlert
LL_I2C_DisableSMBusAlert
Function name
__STATIC_INLINE void LL_I2C_DisableSMBusAlert
(I2C_TypeDef * I2Cx)
Function description
Disable SMBus alert (Host or Device mode)
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