EVENT PROCESSOR ARRAY (EPA)

CLKOUT

PH2

T1CLK

T1DIR

COUNT x x + 1 x + 2 x + 3 x + 4 x + 5 x + 6 x + 5 x + 4 x + 3 x + 2 x + 1

CLKOUT is available on the 8XC196MC and 8XC196MD only.

A1549-01

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

11-9

Page 248
Image 248
Intel 8XC196MC, 8XC196MD, 8XC196MH manual EPA Channel Functional Overview, Quadrature Mode Timing and Count