Figure 5.1 :Periodic Interrupt Generator Example.
TS68230
* Analog representation of counter value.
Figure 5.2 : Square Wave Generator Example.
5.2.3. INTERRUPT AFTER TIMEOUT.
76 5 4 32 1 0
TOUT/TIACK
Control
Z.D
Control
*
Clock
Control
Timer
Enable
0 1 x 0 0 00 or 1X Changed
In this configuration the timer generates an interrupt
after a programmed time period has expired. The
TOUT pin is connected to the system’s interrupt re-
quest circuitry and the TIACK pin may be an inter-
rupt acknowledge input to the timer. The TIN pin
may be used as a clock input.
This configuration is similar to the periodic interrupt
generator except that the zero detect control bit is set.
This forces the counter to roll over after zero detect is
reached, rather than reloading from the CPRs. When
the processor takes the interrupt it can halt the timer,
read the counter and calculate the time from the inter-
rupt request to entering the service routine. Accurate
knowledge of the interrupt latency may be useful in
some applications (see figure 5.3).
45/61