User`s manual

42 Operation Theory
count value can be read-back by software. Figure 4-18 illus-
trates the operation where initial count = 0, up-counting mode.
Figure 4-18: Mode 2 Operation
Mode3: Single Pulse-width Measurement
In this mode, the counter counts the pulse-width of the signal
on GPTC_GATE in terms of GPTC_CLK. Initial count can be
loaded via software. After the software start, the counter
counts the number of active edges on GPTC_CLK when
GPTC_GATE is active. GPTC_OUT outputs high, and current
count value can be read-back via software after the completion
of the pulse-width measurement. Figure 4-19 illustrates the
operation where initial count = 0 in up-counting mode.
Figure 4-19: Mode 3 Operation
Mode4: Single Gated Pulse Generation
This mode generates a single pulse with programmable delay
and pro-grammable pulse-width following the software start.
These software pro-grammable parameters could be specified
in terms of periods of the GPTC_CLK. GPTC_GATE is used to