English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (478/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
(12) Serial output register m (SOm)
SOm is a buffer register for serial output of each channel.
The value of bit n of this register is output from the serial data output pin of channel n.
The value of bit (n + 8) of this register is output from the serial clock output pin of channel n.
SOmn of this register can be rewritten by software only when serial output is disabled (SOEmn = 0). When serial
output is enabled (SOEmn = 1), rewriting by software is ignored, and the value of the register can be changed only
by a serial communication operation.
CKOmn of this register can be rewritten by software only when the channel operation is stopped (SEmn = 0).
While channel operation is enabled (SEmn = 1), rewriting by software is ignored, and the value of CKOmn can be
changed only by a serial communication operation.
To use the P10/SCK20/SCL20, P11/SI20/SDA20/RxD2/INTP6, P12/SO20/TxD2/TO02, P13/SO10/TxD1/TO04,
P14/SI10/SDA10/RxD1/INTP4, P15/SCK10/SCL10/INTP7, P51/TxD3/SDGx (78K0R/LF3: x = 29, 78K0R/LG3: x =
38, 78K0R/LH3: x = 52), P75/SCK01/KR5, P77/SO01/KR7, P80/SCK00/INTP11, or P82/SO00/TxD0 pin as a port
function pin, set the corresponding CKOmn and SOmn bits to “1”.
SOm can be set by a 16-bit memory manipulation instruction.
Reset signal generation clears this register to 0F0FH.
Figure 14-15. Format of Serial Output Register m (SOm)
Address: F0128H, F0129H After reset: 0F0FH R/W
Symbol
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
SO0
0
0
0
0
1 CKO CKO CKO 0
0
0
0
1 SO SO SO
02 01 00
02 01 00
Address: F0168H, F0169H After reset: 0F0FH R/W
Symbol
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
SO1
0
0
0
0
1
1
1 CKO 0
0
0
0
1 SO 1 SO
10
12
10
CKO
mn
0 Serial clock output value is “0”.
1 Serial clock output value is “1”.
Serial clock output of channel n
SO
mn
0 Serial data output value is “0”.
1 Serial data output value is “1”.
Serial data output of channel n
Caution Be sure to set bits 11 and 3 of SO0, and bits 11 to 9, 3, and 1 of SO1 to “1”. And be sure to clear
bits 15 to 12 and 7 to 4 of SOm to “0”.
Remark m: Unit number (m = 0, 1), n: Channel number (n = 0 to 2),
mn = 00 to 02, 10, 12
R01UH0004EJ0501 Rev.5.01
462
Jun 20, 2011