![NEC V854 UPD703006 Скачать руководство пользователя страница 181](http://html.mh-extra.com/html/nec/v854-upd703006/v854-upd703006_user-manual_249287181.webp)
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
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...