119
Chapter 7 Timer/Counter Units
7
Fig. 7-11 Capture Operation
Remark
Dn: TM0 count value (n = 0, 1, 2, ...)
CLR01 = 0
Caution With an in-circuit emulator, digital noise on the INTP3 pin cannot be removed correctly. When the capture function is used, the
operation described below is performed if an edge is detected erroneously.
• When IE-78210-R is used
Capture operation is performed on an erroneously detected edge. At this time, an interrupt request is also generated on the edge.
• When other in-circuit emulators are used
Capture operation is not performed on an erroneously detected edge. However, an interrupt request is generated on the edge.
Accordingly, the capture value must be used after checking by software to see if the INTP3 interrupt was generated normally or
generated on an erroneously detected edge. For detailed information about erroneous edge detection, see Section 11.4.
7.1.6 Basic Operation of Output Control Circuit
The output control circuit controls the levels of the timer outputs (TO0, TO1) according to the overflow signal or
the coincidence signal from the compare registers. The operation of the output control circuit is determined by
the timer output control register (TOC) and capture/compare control register 0 (CRC0). (See
Table 7-5
.)
Before a timer output (TO0 or TO1) signal can be output on a pin, the pin must be placed in the control mode by
the PMC3 register.
Count starts
CE0
←
1
TM0
count value
D0
D1
D2
D2
D1
FFFFH
0H
INTP3
pin input
INTP3
interrupt request
Capture
register
(CR02)
OVF0
D0
Содержание 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 ...