CHAPTER 14 SERIAL ARRAY UNIT
Page 393 of 920
Figure 14 - 61 Flowchart of Slave Reception (in Single-Reception Mode)
Note
For the initial setting, refer to
.(Select transfer end interrupt)
SAU default setting
Starting CSI communication
Wait for receive completes
End of communication
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt enable (EI).
Reading receive data to
SIOp (= SDRmn [7:0])
Yes
No
Ready for reception
Clear storage area setting and the number of receive data
(Storage area, Reception data pointer, Number of communication
data and Communication end flag are optionally set on the internal
RAM by the software)
Enables interrupt
Transfer end interrupt
When transmit end, interrupt is generated
Read receive data then writes to storage area, and counts
up the number of receive data.
Update receive data pointer.
RETI
Reception completed?
Disable interrupt (MASK)
Write STmn bit to 1
Check completion of number of receive data
M
a
in
rou
tine
In
te
rru
pt
pr
oce
ss
ing
r
o
ut
ine
M
a
in
rou
tine
Start communication when master start
providing the clock
Note
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...