Owner's manual

46 Function Block and Operation Theory
Mode 4: Single Gated Pulse Generation
This mode generates a single pulse with programmable delay
and pro-grammable pulse-width following the software-start.
The two programmable parameters could be specified in terms
of periods of the GPTC_CLK input by software. GPTC_GATE
is used to enable/disable counting. When GPTC_GATE is inac-
tive, the counter halts the current count value. Figure 4-19 illus-
trates the generation of a single pulse with a pulse delay of two
and a pulse-width of four.
Figure 4-19: Mode 4 Operation
Mode 5: Single Triggered Pulse Generation
This function generates a single pulse with programmable
delay and programmable pulse-width following an active
GPTC_GATE edge. You could specify these programmable
parameters in terms of periods of the GPTC_CLK input. Once
the first GPTC_GATE edge triggers the single pulse,
GPTC_GATE takes no effect until the software-start is re-exe-
cuted. Figure 4-20 illustrates the generation of a single pulse
with a pulse delay of two and a pulse-width of four.
Figure 4-20: Mode 5 Operation
2 2 1 0 3 2 2 1 0
Gate
CLK
Count value
OUT
Software start
2 2 1 0 3 2 1 0
Gate
CLK
Count value
OUT
Software start