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

LL_I2C_SetClockPeriod() function

Configure the SCL high and low period.

Syntax

__STATIC_INLINE void LL_I2C_SetClockPeriod(I2C_TypeDef *I2Cx,     uint32_t ClockPeriod);

Arguments

I2Cx

I2C Instance.

ClockPeriod

This parameter must be a value between Min_Data=0x004 and Max_Data=0xFFF, except in FAST DUTY mode where Min_Data=0x001.

Return value

None

Notes

This bit can only be programmed when the I2C is disabled (PE = 0).

References

LocationText
stm32f4xx_ll_i2c.h:804
__STATIC_INLINE void LL_I2C_SetClockPeriod(I2C_TypeDef *I2Cx, uint32_t ClockPeriod)

Data Use

Data read by LL_I2C_SetClockPeriod()
LL_I2C_SetClockPeriod()