38
Operation
3.6.2
General Purpose Timer/Counter
The USB-62401 is equipped with one general purpose timer/counter
featuring:
Count up/down controllable by hardware or software
Programmable counter clock source (internal clock up to 80MHz,
external clock up to 10 MHz)
Programmable gate selection (hardware or software control)
Programmable input and output signal polarities (high active or
low active)
Initial Count loaded from a software API
Current count value readable by software without affecting cir
-
cuit operation.
Table 3-4: Timer/Counter Pin Definition
The timer/counter has three inputs that can be controlled via hard
-
ware or software, clock input (GPTC_CLK), gate input (GPTC_GATE), and
up/down control input (GPTC_UD). The GPTC_CLK input provides a clock
source input to the timer/counter. Active edges on the GPTC_CLK input
increment or decrement the counter. The GPTC_UD input directs the
counter to count up or down (high: count up; low: count down), while
the GPTC_GATE input is a control signal acting as a counter enable or
counter trigger signal in different applications. The GPTC_OUT then gen
-
erates a pulse signal based on the timer/counter mode set.
All input/output signal polarities can be programmed by software appli
-
cation. For brevity, all GPTC_CLK, GPTC_GATE, and GPTC_OUT in the fol
-
lowing illustrations are assumed to be active high or rising-edge
triggered.
Pin
Function
Pin
Function
20
GPTC_OUT0 (GPO0)
40
GPTC_OUT1 (GPO1)
19
GPTC_UD (GPI1)
39
GPTC_AUX (GPI3)
18
GPTC_CLK (GPI0)
38
GPTC_GATE (GPI2)
17
NC
37
DGND
Содержание 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...