Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  12   SERIAL  ARRAY  UNIT 
R01UH0305EJ0200  Rev.2.00 
 
 
441  
Jul 04, 2013 
Figure 12-26.  Procedure for Stopping Master Transmission 
 
Starting setting to stop
Stop setting is completed
Write 1 to the STmn bit of the target channel. 
(SEmn = 0: to operation stop status) 
The transmission is stopped. 
Go to the next processing. 
Set the SOEmn bit to 0 and stop the output of 
the target channel. 
Writing the STm register
Changing setting of the SOEm register
TSFmn = 0? 
If there is any data being transferred, wait for 
their completion. 
(If there is an urgent must stop, do not wait) 
Yes 
No 
The levels of the serial clock (CKOmn) and 
serial data (SOmn) on the target channel can 
be changed if necessitated by an emergency. 
Reset the serial array unit by stopping the 
clock supply to it. 
Changing setting of the SOm register
Setting the PER0 register
(Essential) 
(Selective) 
(Essential) 
(Selective) 
(Selective) 
 
 
Remark  m: Unit number (m = 0, 1), n: Channel number (n = 0 to 3), p: CSI number (p = 00, 01, 10, 11, 20, 21), 
mn = 00 to 03, 10, 11 
 
<R>