CHAPTER 6 16-BIT TIMER
User’s Manual U15075EJ1V0UM00
126
6.4.3 Capture operation
The capture operation consists of latching the count value of 16-bit timer register 90 (TM90) into a capture
register in synchronization with a capture trigger, and retaining the count value.
Set TMC90 as shown in Figure 6-9 to allow the 16-bit timer to start the capture operation.
Figure 6-9. Settings of 16-Bit Timer Mode Control Register 90 for Capture Operation
−
0/1
0/1
0/1
0/1
0
0/1
0/1
TOD90 TOF90 CPT901 CPT900 TOC90 TCL901 TCL900 TOE90
TMC90
Count clock selection
Capture edge selection (see Table 6-3)
16-bit capture register 90 (TCP90) starts a capture operation after a CPT90 capture trigger edge is detected, and
latches and retains the count value of 16-bit timer register 90. The TCP90 fetches the count value within 2 clocks
and retains the count value until the next capture edge detection.
Table 6-3 and Figure 6-10 show the settings of the capture edge and the capture operation timing, respectively.
Table 6-3. Settings of Capture Edge
CPT901
CPT900
Capture Edge Selection
0
0
Capture operation prohibited
0
1
CPT90 pin rising edge
1
0
CPT90 pin falling edge
1
1
CPT90 pin both edges
Caution
Because TCP90 is rewritten when a capture trigger edge is detected during TCP90 read, disable
the capture trigger edge detection during TCP90 read.
Figure 6-10. Capture Operation Timing (Both Edges of CPT90 Pin Are Specified)
Count clock
TM90
Count read buffer
TCP90
CPT90
0000H
0000H
0001H
0001H
Undefined
N
N
N
M 1
M
M
M
Capture start
Capture start
Capture edge detection
Capture edge detection
Содержание mPD789426 Series
Страница 2: ...2 User s Manual U15075EJ1V0UM00 MEMO...
Страница 6: ...6 User s Manual U15075EJ1V0UM00 MEMO...
Страница 10: ...10 User s Manual U15075EJ1V0UM00 MEMO...
Страница 24: ...24 User s Manual U15075EJ1V0UM00 MEMO...
Страница 36: ...36 User s Manual U15075EJ1V0UM00 MEMO...
Страница 46: ...46 User s Manual U15075EJ1V0UM00 MEMO...
Страница 176: ...User s Manual U15075EJ1V0UM00 176 MEMO...
Страница 196: ...User s Manual U15075EJ1V0UM00 196 MEMO...
Страница 210: ...User s Manual U15075EJ1V0UM00 210 MEMO...
Страница 262: ...262 User s Manual U15075EJ1V0UM00 MEMO...
Страница 278: ...278 User s Manual U15075EJ1V0UM00 MEMO...
Страница 296: ...296 User s Manual U15075EJ1V0UM00 MEMO...
Страница 298: ...User s Manual U15075EJ1V0UM00 298 MEMO...
Страница 316: ...User s Manual U15075EJ1V0UM00 316 MEMO...