AF bit I2C_SR2 register
Hello,
STM8S208RB.
How can you read the AF bit in the I2C_SR2 register?

When I try to read this bit, it is always 0 even if this bit is set to 1 (In debug mode I look at this bit that it is set to 1). For example, the following condition

always gives the result: 0b00000000. The result is always 0b00000000 even if the AF bit is set to 1. Why?
