UM1940
__HAL_I2C_CLEAR_STOPFLAG
__HAL_I2C_ENABLE
__HAL_I2C_DISABLE
I2C Flag definition
I2C_FLAG_SMBALERT
I2C_FLAG_TIMEOUT
I2C_FLAG_PECERR
I2C_FLAG_OVR
I2C_FLAG_AF
I2C_FLAG_ARLO
I2C_FLAG_BERR
Clears the I2C ADDR pending flag.
Parameters:
__HANDLE__: specifies the I2C Handle.
This parameter can be I2C where x: 1, 2, or
3 to select the I2C peripheral.
Return value:
None
Description:
Clears the I2C STOPF pending flag.
Parameters:
__HANDLE__: specifies the I2C Handle.
This parameter can be I2C where x: 1, 2, or
3 to select the I2C peripheral.
Return value:
None
Description:
Enable the I2C peripheral.
Parameters:
__HANDLE__: specifies the I2C Handle.
This parameter can be I2Cx where x: 1 or 2
to select the I2C peripheral.
Return value:
None
Description:
Disable the I2C peripheral.
Parameters:
__HANDLE__: specifies the I2C Handle.
This parameter can be I2Cx where x: 1 or 2
to select the I2C peripheral.
Return value:
None
DocID028236 Rev 2
HAL I2C Generic Driver
311/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?