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 #978 background imageLoading...
Page #978 background image
LL I2C Generic Driver
UM1940
978/1371
DocID028236 Rev 2
Mhz.
Parameters:
__PCLK__: This parameter must be a
value of peripheral clock (in Hz).
Return value:
Value: of peripheral clock (in Mhz)
__LL_I2C_FREQ_MHZ_TO_HZ
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)
__LL_I2C_RISE_TIME
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
__LL_I2C_SPEED_TO_CCR
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
Description:

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