Ll_I2C_Setrisetime; Ll_I2C_Getrisetime; Ll_I2C_Setclockperiod; Ll_I2C_Getclockperiod - ST STM32F2 User Manual

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

Advertisement

UM1940

LL_I2C_SetRiseTime

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

LL_I2C_GetRiseTime

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

LL_I2C_SetClockPeriod

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

LL_I2C_GetClockPeriod

Function name
__STATIC_INLINE void LL_I2C_SetRiseTime (I2C_TypeDef *
I2Cx, uint32_t RiseTime)
Configure the SCL, SDA rising time.
I2Cx: I2C Instance.
RiseTime: This parameter must be a value between
Min_Data=0x02 and Max_Data=0x3F.
None:
This bit can only be programmed when the I2C is disabled
(PE = 0).
TRISE TRISE LL_I2C_SetRiseTime
__STATIC_INLINE uint32_t LL_I2C_GetRiseTime (I2C_TypeDef
* I2Cx)
Get the SCL, SDA rising time.
I2Cx: I2C Instance.
Value: between Min_Data=0x02 and Max_Data=0x3F
TRISE TRISE LL_I2C_GetRiseTime
__STATIC_INLINE void LL_I2C_SetClockPeriod (I2C_TypeDef
* I2Cx, uint32_t ClockPeriod)
Configure the SCL high and low period.
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.
None:
This bit can only be programmed when the I2C is disabled
(PE = 0).
CCR CCR LL_I2C_SetClockPeriod
__STATIC_INLINE uint32_t LL_I2C_GetClockPeriod
(I2C_TypeDef * I2Cx)
DocID028236 Rev 2
LL I2C Generic Driver
953/1371

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF