Figure 3-12, Mode 2-single period measurement, Figure 3-13 – ADLINK USB-2401 User Manual

Page 50: Mode 3-single pulse-width measurement

Advertising
background image

40

Operation

software application. Operation in which initial count = 0,
count-up mode is shown.

Figure 3-12: Mode 2-Single Period Measurement

Mode 3: Single Pulse-Width Measurement

The counter calculates the pulse-width of the signal on
GPTC_GATE in terms of GPTC_CLK. Initial count can be
loaded from the software application. After software start, the
counter calculates the number of active edges on GPTC_CLK
when GPTC_GATE is in its active state.

After the completion of the pulse-width interval on
GPTC_GATE, GPTC_OUT outputs high and current count
value can be read by the software application. Operation in
which initial count = 0, count-up mode is shown.

Figure 3-13: Mode 3-Single Pulse-Width Measurement

0

0

1

2

3

4

5

5

5

Gate

CLK

Count value

Software start

0

0

1

2

3

4

5

5

5

Gate

CLK

Count value

Software start

Advertising