58
Operation
or down (high: count up; low: count down), while the GPTC_GATE
input is a control signal acting as a counter enable or counter trig-
ger signal in different applications. The GPTC_OUT then gener-
ates a pulse signal based on the timer/counter mode set.
All input/output signal polarities can be programmed by software
application. For brevity, all GPTC_CLK, GPTC_GATE, and
GPTC_OUT in the following illustrations are assumed to be active
high or rising-edge triggered.
4.8
General Purpose Timer/Counter Modes
Ten programmable timer/counter modes are available. All modes
initialize following 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 dif-
ferent modes are described as follows.
4.8.1
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
software 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 4-18: Mode 1-Simple Gated-Event Calculation
5
5
4
3
2
1
1
0
ffff
Gate
CLK
Count value
Software start
Содержание USB-1901
Страница 2: ...Revision History Revision Release Date Description of Change s 2 00 Aug 31 2011 Initial release...
Страница 6: ...vi This page intentionally left blank...
Страница 10: ...x This page intentionally left blank...
Страница 14: ...xiv This page intentionally left blank...
Страница 24: ...10 Introduction This page intentionally left blank...
Страница 26: ...12 Hardware Information Figure 2 2 USB 1902 Module Side View...
Страница 27: ...Hardware Information 13 USB 1900 Series Figure 2 3 USB 1902 Module Front View 41 3 114...
Страница 29: ...Hardware Information 15 USB 1900 Series Figure 2 6 Module in Stand Front View 114 3...
Страница 30: ...16 Hardware Information Figure 2 7 Module Stand Top View 20 4 20 4 B 26...
Страница 33: ...Hardware Information 19 USB 1900 Series Figure 2 12 Module Rail Mounted...
Страница 44: ...30 Hardware Information This page intentionally left blank...
Страница 48: ...34 Installing the USB 1900 Series Module This page intentionally left blank...
Страница 78: ...64 Operation This page intentionally left blank...