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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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 />

(10) Serial channel stop register m (STm)<br />

STm is a trigger register that is used to enable stopping communication/count by each channel.<br />

When 1 is written a bit of this register (STmn), the corresponding bit (SEmn) of serial channel enable status<br />

register m (SEm) is cleared to 0. Because STmn is a trigger bit, it is cleared immediately when SEmn = 0.<br />

STm can set written by a 16-bit memory manipulation instruction.<br />

The lower 8 bits of STm can be set with an 1-bit or 8-bit memory manipulation instruction with STmL.<br />

Reset signal generation clears this register to 0000H.<br />

Figure 12-15. Format of Serial Channel Stop Register m (STm)<br />

Address: F0114H, F0115H (ST0), F0144H, F0145H (ST1), After reset: 0000H R/W<br />

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

STm 0 0 0 0 0 0 0 0 0 0 0 0 0 0 STm<br />

1<br />

STm<br />

n<br />

0 No trigger operation<br />

Operation stop trigger of channel n<br />

1 Clears SEmn to 0 and stops the communication operation.<br />

(Stops with the values of the control register and shift register, and the statuses of the serial clock I/O pin,<br />

serial data output pin, and the PEF and OVF error flags retained Note .)<br />

Note Bits 6 and 5 (TSFmn, BFFmn) of the SSRmn register are cleared.<br />

Caution Be sure to clear bits 15 to 2 of STm to “0”.<br />

Remarks 1. When the STm register is read, 0000H is always read.<br />

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

R01UH0317EJ0004 Rev. 0.04 579<br />

Feb. 22, 2013<br />

STm<br />

0

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

Saved successfully!

Ooh no, something went wrong!