11-9
EVENT PROCESSOR ARRAY (EPA)
Figure 11-4. Quadrature Mode Timing and Count
11.4 EPA CHANNEL FUNCTIONAL OVERVIEW
The EPA has both programmable capture/compare and compare-only channels. Each cap-
ture/compare channel can perform the following tasks. (The compare-only channels have the
same functionality except that they cannot capture an external event.)
• capture the current timer value when a specified transition occurs on the EPA pin
• start an A/D conversion or reload the waveform generator when an event is captured or the
timer value matches the programmed value in the event-time register
• clear, set, or toggle the EPA pin when the timer value matches the programmed value in the
event-time register
• generate an interrupt when a capture or compare event occurs
• reset its own base timer in compare mode
• reset the opposite timer in both compare and capture mode
T1CLK
T1DIR
COUNT
xx
+ 1
x
+ 2
x
+ 3
x
+ 4
x
+ 5
x
+ 6
x
+ 5
x
+ 4
x
+ 3
x
+ 2
x
+ 1
A1549-01
PH2
CLKOUT†
† CLKOUT is available on the 8XC196MC and 8XC196MD only.