BAT32G1x9 user manual | Chapter 20 Serial interface IICA
745 / 1149
Rev.1.02
20.3.4
IICA flag register n (IICFn).
This is the register that sets the
I2C
operating mode and indicates the status of the I2 C-bus.
The IICFn register is set by the 8-bit memory operation instruction. However, only the STTn clear flag (STCFn)
and the I2 C-bus status flag (IICBSYn) can be read.
The communication appointment function is allowed or disabled by the IICRSVn bit setting, and the initial value
of the IICBSYn bit is set by the STCENn bit. Only bit7 ( IICEn) = 0) can only write IICRSVn bits and STCENn bits.
After allowing operation, only the IICFn registers can be read. After generating a reset signal, the value of this register
changes to "00H".