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

(3) Operation of TOmn pin in combination operation mode (TOMmn = 1)<br />

(a) When TOLmn setting has been changed during timer operation<br />

When the TOLmn setting has been changed during timer operation, the setting becomes valid at the<br />

generation timing of TOmn change condition. Rewriting TOLmn does not change the output level of TOmn.<br />

The following figure shows the operation when the value of TOLmn has been changed during timer operation<br />

(TOMmn = 1).<br />

Figure 6-44. Operation When TOLmn Has Been Changed During Timer Operation<br />

Internal set signal<br />

Internal reset signal<br />

TOLmn<br />

TOmn pin<br />

TOmn does not change<br />

Set/reset signals are inverted<br />

Remarks 1. Set: The output signal of TOmn pin changes from inactive level to active level.<br />

Reset: The output signal of TOmn pin changes from active level to inactive level.<br />

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

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

(b) Set/reset timing<br />

To realize 0%/100% output at PWM output, the TOmn pin/TOmn set timing at master channel timer interrupt<br />

(INTTMmn) generation is delayed by 1 count clock by the slave channel.<br />

If the set condition and reset condition are generated at the same time, a higher priority is given to the latter.<br />

Figure 6-40 shows the set/reset operating statuses where the master/slave channels are set as follows.<br />

Master channel: TOEmn = 1, TOMmn = 0, TOLmn = 0<br />

Slave channel: TOEmp = 1, TOMmp = 1, TOLmp = 0<br />

R01UH0317EJ0004 Rev. 0.04 396<br />

Feb. 22, 2013

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

Saved successfully!

Ooh no, something went wrong!