6 basic timer/counter function, Basic timer/counter function, Table 3-3: timer/counter pin definition – ADLINK USB-1210 User Manual

Page 42

Advertising
background image

32

Operation & Calibration

X

Programmable gate selection (hardware or software con-
trol)

X

Programmable input and output signal polarities (high active
or low active)

X

Initial Count loaded from a software application

X

Current count value readable by software without affecting
circuit operation.

*Not used in GPTC

Table 3-3: Timer/Counter Pin Definition

3.1.6

Basic Timer/Counter Function

Each timer/counter has three inputs that can be controlled via
hardware or software. They are 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/coun-
ter. 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 trig-
ger signal in different applications. The GPTC_OUT then gener-
ates a pulse signal based on the timer/counter mode set.

Pin

Pin

IGND

20

40

IGND

GPTC_CLK

19

39

GPTC_OUT0

GPTC_UD0

18

38

GPTC_OUT1

GPTC_GATE0

17

37

GPTC_OUT2

GPTC_AUX0

16

36

GPTC_OUT3

GPTC_CLK2

15

35

IGND

GPTC_UD2

14

34

N/C*

GPTC_GATE2

13

33

N/C*

GPTC_AUX2

12

32

N/C*

IGND

11

31

N/C*

Advertising