04.03.2013 Views

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

RL78/D1A User's Manual: Hardware - Renesas

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Under development<br />

Preliminary document<br />

Specifications in this document are tentative and subject to change.<br />

<strong>RL78</strong>/<strong>D1A</strong> CHAPTER 12 SERIAL ARRAY UNIT<br />

(12) Serial output register m (SOm)<br />

SOm is a buffer register for serial output of each channel.<br />

The value of bit n of this register is output from the serial data output pin of channel n.<br />

The value of bit (n + 8) of this register is output from the serial clock output pin of channel n.<br />

SOmn of this register can be rewritten by software only when serial output is disabled (SOEmn = 0). When serial<br />

output is enabled (SOEmn = 1), rewriting by software is ignored, and the value of the register can be changed only<br />

by a serial communication operation.<br />

CKOmn of this register can be rewritten by software only when the channel operation is stopped (SEmn = 0).<br />

While channel operation is enabled (SEmn = 1), rewriting by software is ignored, and the value of CKOmn can be<br />

changed only by a serial communication operation.<br />

Figure 12-17. Format of Serial Output Register m (SOm)<br />

Address: F0118H, F0119H (SO0), F0148H, F0149H (SO1), After reset: 0303H R/W<br />

Symbol 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

SOm 0 0 0 0 0 0 CKO<br />

m1<br />

CKO<br />

mn<br />

0 Serial clock output value is “0”.<br />

1 Serial clock output value is “1”.<br />

SO<br />

mn<br />

0 Serial data output value is “0”.<br />

1 Serial data output value is “1”.<br />

CKO<br />

m0<br />

0 0 0 0 0 0 SO<br />

m1<br />

Serial clock output of channel n<br />

Serial data output of channel n<br />

Caution Be sure to set bits 15 to 10, 7 to 2 of SOm to “0”.<br />

Remark m: Unit number (m = 0, 1), n: Channel number (n = 0, 1),<br />

mn = 00, 01, 10, 11<br />

R01UH0317EJ0004 Rev. 0.04 581<br />

Feb. 22, 2013<br />

SO<br />

m0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!