BAT32G1x9 user manual | Chapter 20 Serial interface IICA
770 / 1149
Rev.1.02
The timing of the communication appointment is shown in the following figure.
Figure 20-23
Timing of communication appointments
SCLAn
SDAAn
hardware
processing.
program
processing.
communi
cation
preserve
STTn=1
写
IICAn
STDnset
to '1'
SPDn and
INTIICAn
set to '1'
generated by master device occupied the bus.
Note: IICAn
:
IICA
shift register
n
STTn
:
Bit1
of
IICA
control register
n0
(IICCTLn0
).
STDn
:
Bit1
of
the
IICA
status register
n
(IICSn
).
SPDn
:
Bit0 of IICA
status register
n
(IICSn
).
Accept communicationFigure 20-24. After bit1 (STDn) of the IICA status register n (IICSn) becomes "1"
and before a stop condition is detected, it will be Bit1 (STTn) of the IICA control register n0 (IICCTLn0) is
placed "1" Make a communication appointment.
Figure 20-24
Reception timing of communication appointments
SCLAn
SDAAn
STDn
SPDn
stanndby (during this, can preserve communication via setting STTn bit to
'1‘
)
The steps of the communication appointment are shown in Figure 20-25.
Note: n=0,1