User’s Manual U11969EJ3V0UM00
181
CHAPTER 7 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
7.4.6 Compare operation
When the TMC01 register is set as a compare register, the capture/compare registers (CC00 to CC03) perform
a comparison between the value of the compare register with the count values of TM0.
When the count values of TM0 coincide with the value of the compare register programmed in advance, a
coincidence signal is sent to the output control circuit (refer to Figure 7-9). The levels of the timer output pins (TO)
can be changed by the coincidence signal, and an interrupt request signal INTCC can be generated at the same time
(n = 00, 01).
Table 7-3. Interrupt Request Signal from 24-Bit Compare Register
Compare Register
Interrupt Request
Compare Match Trigger
CC00/CC00L
INTCC00
TO00 (S)
CC01/CC01L
INTCC01
TO00 (R)
CC02/CC02L
INTCC02
TO01 (S)
CC03/CC03L
INTCC03
TO01 (R), A/D converter
Remark
S/R: set/reset
Figure 7-9. Example of Compare Operation
Remark
Note that the coincidence signal INTCC is generated immediately after TM0 is incremented as shown
above.
Count clock
Timer 0
CC00
Coincidence detected
INTCC00
n – 1
n
n + 1
n
TM0
Summary of Contents for V854 UPD703006
Page 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Page 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Page 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Page 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Page 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Page 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Page 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Page 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Page 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Page 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Page 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Page 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...