EasyManua.ls Logo

ST STM32F2

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

Table of Contents

Related product manuals