Mhz.
Parameters:
__PCLK__: This parameter must be a
value of peripheral clock (in Hz).
Return value:
Value: of peripheral clock (in Mhz)
Description:
Convert Peripheral Clock Frequency in
Hz.
Parameters:
__PCLK__: This parameter must be a
value of peripheral clock (in Mhz).
Return value:
Value: of peripheral clock (in Hz)
Description:
Compute I2C Clock rising time.
Parameters:
__FREQRANGE__: This parameter
must be a value of peripheral clock (in
Mhz).
__SPEED__: This parameter must be a
value lower than 400kHz (in Hz).
Return value:
Value: between Min_Data=0x02 and
Max_Data=0x3F
Description:
Compute Speed clock range to a Clock
Control Register (I2C_CCR_CCR) value.
Parameters:
__PCLK__: This parameter must be a
value of peripheral clock (in Hz).
__SPEED__: This parameter must be a
value lower than 400kHz (in Hz).
__DUTYCYCLE__: This parameter can
be one of the following values:
LL_I2C_DUTYCYCLE_2
LL_I2C_DUTYCYCLE_16_9
Return value:
Value: between Min_Data=0x004 and
Max_Data=0xFFF, except in FAST
DUTY mode where Min_Data=0x001.
__LL_I2C_SPEED_STANDARD_TO_CCR