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
Содержание PD78212
Страница 11: ......
Страница 53: ...24 ...
Страница 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Страница 65: ...36 ...
Страница 83: ...54 ...
Страница 135: ...106 ...
Страница 271: ...242 ...
Страница 405: ...376 ...
Страница 417: ...388 ...
Страница 423: ...394 ...
Страница 449: ...420 ...
Страница 457: ...428 ...
Страница 471: ...442 ...
Страница 487: ...458 ...