English
Language : 

UPD784938 Datasheet, PDF (288/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 10 TIMER/EVENT COUNTER 1
10.6 Compare Register and Capture/Compare Register Operation
10.6.1 Compare operations
Timer/event counter 1 performs compare operations in which the value set in a compare register (CR10), capture/compare
register (CR11), specified for compare operation is compared with the timer counter 1 (TM1) count value.
If the count value of TM1 matches the preset value of the CR10, or the CR11 as the result of the count operation, an
interrupt request signal (INTC10 or INTC11) is generated.
After a match with the CR10 or CR11 value, the TM1 contents can be cleared, and the timer functions as an interval timer
that repeatedly counts up to the value set in the CR10 or CR11.
Figure 10-13. Compare Operation in 8-Bit Operation Mode
FFH
TM1
count value
0H
INTC10
interrupt request
INTC11
interrupt request
Count start
CE1 ← 1
OVF1
CR11 value
Match
CR10 value
Match
Remark CLR10 = 0, CLR11 = 0, CM = 0, BW1 = 0
288
Preliminary User’s Manual U13987EJ1V0UM00