127
Chapter 7 Timer/Counter Units
7
Even if the value of the CR00 compare register coincides with the value of 16-bit timer 0 (TM0) more than once
during one period of PPG output, the output levels on the timer outputs (TO0, TO1) are not inverted.
Fig. 7-21 Example of Rewriting Compare Register CR00
TO0
T1
T2
T1
T1
T2
T2
CR01
TM0
count value
0H
CR00
Rewriting
CR00
TO0 does not change though CR00 coincides with TM0
CR01
Remark
ALV0 = 1
Cautions 1. If a value less than the value of 16-bit timer 0 (TM0) is written into the CR00 compare register before the value of CR00 coincides
with the value of TM0, a PPG signal with a 100% duty factor is output in that period. Rewrite CR00, if required, by using an
interrupt generated by a coincidence between TM0 and CR00.
Fig. 7-22 Example of PPG Output Signal with a 100% Duty Factor
TO0
CR00
0H
n1
n2
n2
n2
n2
n3
n1
CR01
TM0
count value
When a value, n2 less than TM0 value, n3 is written to CR00
here, the duty factor is 100% during this period.
n1
CR01
CR01
CR01
Remark
ALV0 = 0
Summary of Contents for PD78212
Page 11: ......
Page 53: ...24 ...
Page 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Page 65: ...36 ...
Page 83: ...54 ...
Page 135: ...106 ...
Page 271: ...242 ...
Page 405: ...376 ...
Page 417: ...388 ...
Page 423: ...394 ...
Page 449: ...420 ...
Page 457: ...428 ...
Page 471: ...442 ...
Page 487: ...458 ...