301
Chapter 9
16-Bit Timer/Event Counter P
User’s Manual U16580EE3V1UD00
(2)
TPnCCS1 = 1, TPnCCS0 = 1 settings (capture function description)
When TPnCE = 1, the 16-bit counter counts from 0000H to FFFFH and free-running count-up
operation continues until TPnCE = 0 is set. During this time, values are captured by capture trigger
operation and are written to the TPnCCR0 and TPnCCR1 registers.
Regarding capture in the vicinity of overflow (FFFFH), judgment is made using the overflow flag
(TPnOVF). However, if overflow occurs twice (2 or more free-running cycles), the capture trigger
interval cannot be judged with the TPnOVF flag. In this case, the system should be revised.
Figure 9-30:
Basic Operation Timing in Free-Running Mode (TPnCCS1 = 1, TPnCCS0 = 1)
Remarks: 1.
D
00
, D
01
: Values captured to TPnCCR0 register (0000H to FFFFH)
D
10
, D
11
: Values captured to TPnCCR1 register (0000H to FFFFH)
2.
TIPn0: Set to rising edge detection (TPnIS1, TPnIS0 = 01B)
TIPn1: Set to falling edge detection (TPnIS3, TPnIS2 = 10B)
3.
n = 0 to 7
D
11
D
10
0000H
D
12
16-bit
counter
FFFFH
TIPn1
TIPn0
TPnCE = 1
TPnCCR1
D
00
D
01
D
12
D
02
D
11
D
10
D
00
D
01
TPnCCR0
D
02
D
03
0000H
D
03
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......