English
Language : 

UPD784938 Datasheet, PDF (382/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 12 TIMER 3
12.5 Compare Register Operation
Timer 3 performs compare operations in which the value set in the compare register (CR30) is compared with the timer
counter 3 (TM3) count value.
If the count value of TM3 matches the preset CR30 value as the result of the count operation, an interrupt request
(INTC30) is generated.
After a match, the TM3 contents are cleared automatically, and therefore TM3 functions as an interval timer that
repeatedly counts up to the value set in the CR30.
Figure 12-8. Compare Operation
CR30
CR30
TM3
count value
0H
Count start
CE ← 1
INTC30
interrupt request
Clear
(match)
Clear
(match)
382
Preliminary User’s Manual U13987EJ1V0UM00