Ll_I2C_Getdutycycle; Ll_I2C_Setclockspeedmode; Ll_I2C_Getclockspeedmode - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL I2C Generic Driver
Return values
Reference Manual to
LL API cross
reference:

LL_I2C_GetDutyCycle

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_I2C_SetClockSpeedMode

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_I2C_GetClockSpeedMode

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
952/1371
LL_I2C_DUTYCYCLE_16_9
None:
CCR DUTY LL_I2C_SetDutyCycle
__STATIC_INLINE uint32_t LL_I2C_GetDutyCycle
(I2C_TypeDef * I2Cx)
Get the Duty cycle (Fast mode only).
I2Cx: I2C Instance.
Returned: value can be one of the following values:
LL_I2C_DUTYCYCLE_2
LL_I2C_DUTYCYCLE_16_9
CCR DUTY LL_I2C_GetDutyCycle
__STATIC_INLINE void LL_I2C_SetClockSpeedMode
(I2C_TypeDef * I2Cx, uint32_t ClockSpeedMode)
Configure the I2C master clock speed mode.
I2Cx: I2C Instance.
ClockSpeedMode: This parameter can be one of the
following values:
LL_I2C_CLOCK_SPEED_STANDARD_MODE
LL_I2C_CLOCK_SPEED_FAST_MODE
None:
CCR FS LL_I2C_SetClockSpeedMode
__STATIC_INLINE uint32_t LL_I2C_GetClockSpeedMode
(I2C_TypeDef * I2Cx)
Get the the I2C master speed mode.
I2Cx: I2C Instance.
Returned: value can be one of the following values:
LL_I2C_CLOCK_SPEED_STANDARD_MODE
LL_I2C_CLOCK_SPEED_FAST_MODE
CCR FS LL_I2C_GetClockSpeedMode
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF