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 6 TIMER ARRAY UNIT<br />

(b) Start timing in event counter mode<br />

While TEmn is set to 0, TCRmn holds the initial value.<br />

Writing 1 to TSmn sets 1 to TEmn.<br />

As soon as 1 has been written to TSmn and 1 has been set to TEmn, the “TDRmn value” is loaded to<br />

TCRmn to start counting.<br />

After that, the TCRmn value is counted down according to the count clock.<br />

Figure 6-16. Start Timing (In Event Counter Mode)<br />

fCLK<br />

TSmn (write)<br />

TEmn<br />

Count clock<br />

TSmn (write) hold signal<br />

Start trigger detection signal<br />

<br />

Remark m: Unit number (m = 0 to 2)<br />

n: Channel number (n = 0 to 7)<br />

<br />

<br />

TCRmn Initial value<br />

TDRmn value<br />

TDRmn value-1<br />

R01UH0317EJ0004 Rev. 0.04 340<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!