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

(6) Measurement of high-/low-level width of input signal<br />

Counting is started by a single edge of the signal input to the timer input pin (TImn), and the count value is<br />

captured at the other edge. In this way, the high-level or low-level width of the input signal can be measured.<br />

Edge detection<br />

Timer input<br />

(TImn)<br />

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

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

Channel n<br />

Capture operation<br />

xxH<br />

Capture<br />

6.1.2 Functions of each channel when it operates with another channel<br />

Combination-operation functions are those functions that are attained by using the master channel (mostly the<br />

reference timer that controls cycles) and the slave channels (timers that operate following the master channel) in<br />

combination (for details, refer to 6.6.1 Overview of single-operation function and combination-operation function).<br />

(1) PWM (Pulse Width Modulator) output<br />

Two channels are used as a set to generate a pulse with a specified period and a specified duty factor.<br />

Operation clock<br />

Compare operation<br />

Channel n (master)<br />

Compare operation<br />

Channel p (slave)<br />

R01UH0317EJ0004 Rev. 0.04 315<br />

Feb. 22, 2013<br />

00H<br />

Start<br />

Interrupt signal (INTTMmn)<br />

Timer output<br />

(TOmp)<br />

Duty<br />

Period<br />

(2) One-shot pulse output<br />

Two channels are used as a set to generate a one-shot pulse with a specified delay time and a specified pulse<br />

width.<br />

Timer input<br />

(TImn)<br />

Edge detection<br />

Compare operation<br />

Channel n (master)<br />

Compare operation<br />

Channel p (slave)<br />

Interrupt signal (INTTMmn)<br />

Output<br />

timing<br />

Timer output<br />

(TOmp)<br />

Toggle<br />

(Master)<br />

Start<br />

(Master)<br />

Pulse width<br />

Toggle<br />

(Slave)

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

Saved successfully!

Ooh no, something went wrong!