HAL
LL_I2C_GetMode() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_I2C_GetMode() function

Get peripheral mode.

Syntax

__STATIC_INLINE uint32_t LL_I2C_GetMode(I2C_TypeDef *I2Cx);

Arguments

I2Cx

I2C Instance.

Return value

Returned value can be one of the following values: @arg LL_I2C_MODE_I2C @arg LL_I2C_MODE_SMBUS_HOST @arg LL_I2C_MODE_SMBUS_DEVICE @arg 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. CR1 SMBTYPE LL_I2C_GetMode\n CR1 ENARP LL_I2C_GetMode

References

LocationText
stm32f4xx_ll_i2c.h:904
__STATIC_INLINE uint32_t LL_I2C_GetMode(I2C_TypeDef *I2Cx)

Data Use

Data read by LL_I2C_GetMode()
LL_I2C_GetMode()
Type of LL_I2C_GetMode()
LL_I2C_GetMode()
uint32_t
all items filtered out