BAT32G1x9 user manual | Chapter 20 Serial interface IICA
733 / 1149
Rev.1.02
20.2.1
IICA shift register n (IICAn).
IICAn registers are registers that convert 8-bit serial data and 8-bit parallel data to and from a serial clock for
sending and receiving. Actual sending and receiving can be controlled by reading and writing IICAn registers.
During the wait, the wait is lifted by writing the IICAn register and the data is transferred. The IICAn registers
are set via the 8-bit memory operation instructions. After generating a reset signal, the value of this register
changes to "00H".
Figure 20-3 Format of the IICAn shift register n (IICAn).
After reset: 00H,
R/W
Symbol
7 6 5 4 3 2 1 0
IICAn
Note 1
During data transfer, data cannot be
written to
the IICAn
registers.
2. The IICAn
register
can only be read and written during the waiting period. Access to the IICAn registers in the
communication state is prohibited except during the waiting period. However, in the case of the master device, the
IICAn
register can be
written once after
the communication trigger bit (
STTn) is set
to
"1".
3. When making an appointment for communication, data must be
written to
the IICAn
register after detecting an
interrupt caused by a stop condition
.
Note: n=0,1