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
Содержание USB-62401
Страница 2: ...ii...
Страница 8: ...viii List of Figures This page intentionally left blank...
Страница 10: ...x List of Tables This page intentionally left blank...
Страница 21: ...Introduction 11 Figure 1 3 USB 62401 Module Side View...
Страница 22: ...12 Introduction Figure 1 4 USB 62401 Module Front View...
Страница 24: ...14 Introduction Figure 1 7 Module In Stand Front View...
Страница 25: ...Introduction 15 Figure 1 8 Module Stand Top View 20 4 20 4 B 26...
Страница 29: ...Introduction 19...
Страница 30: ...20 Introduction This page intentionally left blank...
Страница 34: ...24 Getting Started Figure 2 4 Module Pre Rail Mounting Figure 2 5 Module Rail Mounted...
Страница 36: ...26 Getting Started This page intentionally left blank...
Страница 43: ...Operation 33 Figure 3 7 4 Wire RTD Connection Figure 3 8 3 Wire RTD Connection...
Страница 56: ...46 Calibration This page intentionally left blank...
Страница 62: ...52 Getting Service...