Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 12 SERIAL ARRAY UNIT
R01UH0305EJ0200 Rev.2.00 424
Jul 04, 2013
12.3.11 Serial output enable register m (SOEm)
The SOEm register is a register that is used to enable or stop output of the serial communication operation of each
channel.
Channel n that enables serial output cannot rewrite by software the value of the SOmn bit of serial output register m
(SOm) to be described below, and a value reflected by a communication operation is output from the serial data output pin.
For channel n, whose serial output is stopped, the SOmn bit value of the SOm register can be set by software, and that
value can be output from the serial data output pin. In this way, any waveform of the start condition and stop condition can
be created by software.
The SOEm register can be set by a 16-bit memory manipulation instruction.
The lower 8 bits of the SOEm register can be set with a 1-bit or 8-bit memory manipulation instruction with SOEmL.
Reset signal generation clears the SOEm register to 0000H.
Figure 12-14. Format of Serial Output Enable Register m (SOEm)
Address: F012AH, F012BH (SOE0) After reset: 0000H R/W
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SOE0 0 0 0 0 0 0 0 0 0 0 0 0
SOE
03
SOE
02
SOE
01
SOE
00
Address: F016AH, F016BH (SOE1)
Note
After reset: 0000H R/W
Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SOE1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SOE
11
SOE
10
SOE
mn
Serial output enable/stop of channel n
0 Stops output by serial communication operation.
1 Enables output by serial communication operation.
Note 32, 48, 64-pin products only
Caution Be sure to clear bits 15 to 4 of the SOE0 register, and bits 15 to 2 of the SOE1 register to “0”.
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0 to 3)