289
Chapter 10
Timer
Preliminary User’s Manual U15839EE1V0UM00
(4)
Compare operation
The TMC0 register has two capture/compare registers. These are the CCC00 register and the
CCC01 register.
A capture operation or a compare operation is performed according to the settings of both the
CMS1 and CMS0 bits of the TMCC01 register. If "1" is set in the CMS1 and CMS0 bits of the
TMCC01 register, the register operates as a compare register.
A compare operation that compares the value that was set in the compare register and the TMC0
count value is performed.
If the TMC0 count value matches the value of the compare register, which had been set in
advance, a match signal is sent to the output control circuit. The match signal causes the timer
output pin (TOC0) to change and an interrupt request signal (INTCCC00, INTCCC01) to be
generated at the same time.
Figure 10-13:
Timing of compare operation
Remark:
The match is detected immediately after the count up, and the match detection signal is
generated.
n + 1
TMC0
Count up
n
n
n – 1
Compare register
(CCC01)
Match detection
(INTCCC01)
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......