UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 328

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
CHAPTER 10 TIMER/COUNTER 2
Caution When timer/counter 2 is used as an external event counter, it is not possible to distinguish between
the case where there is no valid edge input at all and the case where there is a single valid edge input
using timer register 2 (TM2) alone (see Figure 10-12), since the contents of TM2 are 0 in both cases.
If it is necessary to make this distinction, the INTP2 interrupt request flag should be used (the INTP2
pin and CI pin have a dual function, and both functions can be used at the same time). An example
is shown in Figure 10-13.
Figure 10-12 Example of the case where the external event counter does not distinguish between one
valid edge input and no valid edge input
INTP2/CI
TM2
0
0
1
2
No Distinction Made
Count Start
288

Related parts for UPD784026