UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 270

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(7) The output level of the TOn (n = 0, 1) when the timer output is disabled (ENTOn = 0: n = 0, 1) is the reverse value of the
(8) When using timer/counter 0 as an external event counter, the status where no valid edge is input cannot be distinguished
230
value set to the ALVn (n = 0, 1) bit. Note, therefore, that an active level is output when the timer output is disabled with the
PWM output function or PPG output function selected.
from the status where only one valid edge has been input, by using timer register 0 (TM0) alone (see Figure 8-53), because
the contents of TM0 are 0 in both the cases. To make a distinction, use the interrupt request flag of INTP3, as shown in
Figure 8-54.
Figure 8-53 Example Where Whether One or No Valid Edge Has Been Input Cannot
Be Distinguished with External Event Counter
INTP3
TM0
Count Start
0
Cannot be
Distinguished
CHAPTER 8 TIMER/COUNTER 0
0
1
2

Related parts for UPD784026