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

LL_I2C_SetMode() function

Configure peripheral mode.

Syntax

__STATIC_INLINE void LL_I2C_SetMode(I2C_TypeDef *I2Cx,     uint32_t PeripheralMode);

Arguments

I2Cx

I2C Instance.

PeripheralMode

This parameter 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

Return value

None

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_SetMode\n CR1 ENARP LL_I2C_SetMode

References

Call Tree

Functions calling LL_I2C_SetMode()
all items filtered out
LL_I2C_SetMode()
Data read by LL_I2C_SetMode()
LL_I2C_SetMode()