Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 12 SERIAL ARRAY UNIT
R01UH0305EJ0200 Rev.2.00 526
Jul 04, 2013
Figure 12-91. Flowchart of SNOOZE Mode Operation (EOCm1 = 0, SSECm = 0/1 or EOCm1 = 1, SSECm = 0)
Setting start
Does TSFmn = 0 on all
channels?
No
Yes
Writing 1 to the STmn bit
SEmn = 0
Setting SSCm register
(SWCm = 1)
Entered the STOP mode
The operation of all channels is also stopped to switch to the
STOP mode.
SNOOZE mode setting
f
CLK
supplied to the SAU is stopped.
<1>
<2>
<3>
<4>
<5>
<7>
Channel 1 is specified for UART reception.
Change to the UART reception baud rate in SNOOZE mode
(SPSm register and bits 15 to 9 in SDRm1 register).
<6>
<9>
<8>
<10>
<11>
<12>
The mode switches from SNOOZE to normal
operation.
SAU default setting
Clear interrupt request flag (XXIF), reset interrupt mask (XXMK)
and set interrupt enable(IE).
Enable interrupt
RxDq edge detected
(Entered the SNOOZE mode)
Clock supply
(UART receive operation)
Transfer end interrupt (INTSRq) or
error interrupt (INTSREq) generated
Normal opetarionSTOP mode
SNOOZE mode
To operation stop status (SEm1 = 0)
Reading receive data from
the SDRmn[7:0] bits (RXDq
register) (8 bits) or the
SDRmn[8:0] bits (9 bits)
Writing 1 to the STm1 bit
Clear the SWCm bit to 0
INTSREq
Change to the UART
reception baud rate in
normal operation
Normal operation
Set the SPSm register and bits 15 to 9 in the
SDRm1 register.
Normal opetarion
Writing 1 to the SSmn bit
SEm1 = 1
INTSRq
Reading receive data from
the SDRmn[7:0] bits (RXDq
register) (8 bits) or the
SDRmn[8:0] bits (9 bits)
Writing 1 to the STm1 bit
Clear the SWCm bit to 0
Error processing
Change to the UART
reception baud rate in
normal operation
Writing 1 to the SSmn bit Writing 1 to the SSmn bit
Normal operation
Communication wait status
Reset SNOOZE mode setting.
To communication wait status (SEmn = 1)
Remarks 1. <1> to <11> in the figure correspond to <1> to <11> in Figure 12-89 Timing Chart of SNOOZE
Mode Operation (EOCm1 = 0, SSECm = 0/1) and Figure 12-90 Timing Chart of SNOOZE Mode
Operation (EOCm1 = 1, SSECm = 0).
2. m = 0; q = 0
<R>