LL I2C Generic Driver
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_I2C_SetOwnAddress2
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_I2C_EnableOwnAddress2
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_I2C_DisableOwnAddress2
Function name
Function description
Parameters
Return values
950/1371
Set the Own Address1.
I2Cx: I2C Instance.
OwnAddress1: This parameter must be a value between
Min_Data=0 and Max_Data=0x3FF.
OwnAddrSize: This parameter can be one of the following
values:
LL_I2C_OWNADDRESS1_7BIT
LL_I2C_OWNADDRESS1_10BIT
None:
OAR1 ADD0 LL_I2C_SetOwnAddress1
OAR1 ADD1_7 LL_I2C_SetOwnAddress1
OAR1 ADD8_9 LL_I2C_SetOwnAddress1
OAR1 ADDMODE LL_I2C_SetOwnAddress1
__STATIC_INLINE void LL_I2C_SetOwnAddress2
(I2C_TypeDef * I2Cx, uint32_t OwnAddress2)
Set the 7bits Own Address2.
I2Cx: I2C Instance.
OwnAddress2: This parameter must be a value between
Min_Data=0 and Max_Data=0x7F.
None:
This action has no effect if own address2 is enabled.
OAR2 ADD2 LL_I2C_SetOwnAddress2
__STATIC_INLINE void LL_I2C_EnableOwnAddress2
(I2C_TypeDef * I2Cx)
Enable acknowledge on Own Address2 match address.
I2Cx: I2C Instance.
None:
OAR2 ENDUAL LL_I2C_EnableOwnAddress2
__STATIC_INLINE void LL_I2C_DisableOwnAddress2
(I2C_TypeDef * I2Cx)
Disable acknowledge on Own Address2 match address.
I2Cx: I2C Instance.
None:
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers