__HAL_I2C_CLEAR_FLAG macro
Clears the I2C pending flags which are cleared by writing 0 in a specific bit.
Arguments
__HANDLE__
specifies the I2C Handle.
__FLAG__
specifies the flag to clear. This parameter can be any combination of the following values: @arg I2C_FLAG_OVR: Overrun/Underrun flag (Slave mode) @arg I2C_FLAG_AF: Acknowledge failure flag @arg I2C_FLAG_ARLO: Arbitration lost flag (Master mode) @arg I2C_FLAG_BERR: Bus error flag
Return value
None