
344
Chapter 8
16-Bit Timer/Event Counter Q
User’s Manual U16702EE3V2UD00
(1)
When TQnCCSn = 0 setting (compare function)
When TQnCE is set to 1, the 16-bit counter counts from 0000H to FFFFH, and continues counting
up in the free-running mode until TQnCE is cleared to 0. If a value is written to the TQnCCRm
register in this mode, it is transferred to the CCRm buffer registers (anytime write). Even if an
one-shot pulse trigger is input in this mode, an one-shot pulse is not generated. If TQnOEm is set
to 1, TOQnm produces a toggle output when the value of the 16-bit counter matches the value of
the CCRm buffer register.
(2)
When TQnCCSn = 1 setting (capture function)
When TQnCE is set to 1, the 16-bit counter counts from 0000H to FFFFH, and continues counting
up in the free-running mode until TQnCE is cleared to 0. The value captured by a capture trigger is
written to the TQnCCRm registers.
Capturing before and after overflow (FFFFH) is judged using the overflow flag (TQnOVF).
However, if the interval of the capture trigger is such that the overflow occurs two times (two
periods of more of free-running), the TQnOVF flag cannot be used for judgment.
Remark:
n = 0 to 1
m = 0 to 3
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...