Operation
39
3.6.3
General Purpose Timer/Counter Modes
Ten programmable timer/counter modes are available. All initialize fol
-
lowing a software-start signal set by the software. The GPTC software
reset initializes the status of the counter and reloads the initial
value to the counter. The operation remains halted until software start
is executed again. Operations under different modes are as follows.
Mode 1: Simple Gated-Event Counting
In this mode, the counter calculates the number of pulses on the
GPTC_CLK after a software start. Initial count can be loaded from the
software application. Current count value can be read back by soft
-
ware any time with no influence on calculation. GPTC_GATE
enables/disables calculation. When GPTC_GATE is inactive, the
counter halts the current count value. Operation in which initial
count = 5, countdown mode is shown.
Figure 3-11: Mode 1-Simple Gated-Event Calculation
Mode 2: Single Period Measurement
The counter calculates the period of the signal on GPTC_GATE in
terms of GPTC_CLK. The initial count can be loaded from the soft
-
ware application. After software start, the counter calculates the
number of active edges on GPTC_CLK between two active edges of
GPTC_GATE. After the completion of the period interval on
GPTC_GATE, GPTC_OUT outputs high and then current count value
can be read by the software application. Operation in which initial
count = 0, count-up mode is shown.
5
5
4
3
2
1
1
0
ffff
Gate
CLK
Count value
Software start
Summary of Contents for USB-62401
Page 2: ...ii...
Page 8: ...viii List of Figures This page intentionally left blank...
Page 10: ...x List of Tables This page intentionally left blank...
Page 21: ...Introduction 11 Figure 1 3 USB 62401 Module Side View...
Page 22: ...12 Introduction Figure 1 4 USB 62401 Module Front View...
Page 24: ...14 Introduction Figure 1 7 Module In Stand Front View...
Page 25: ...Introduction 15 Figure 1 8 Module Stand Top View 20 4 20 4 B 26...
Page 29: ...Introduction 19...
Page 30: ...20 Introduction This page intentionally left blank...
Page 34: ...24 Getting Started Figure 2 4 Module Pre Rail Mounting Figure 2 5 Module Rail Mounted...
Page 36: ...26 Getting Started This page intentionally left blank...
Page 43: ...Operation 33 Figure 3 7 4 Wire RTD Connection Figure 3 8 3 Wire RTD Connection...
Page 56: ...46 Calibration This page intentionally left blank...
Page 62: ...52 Getting Service...