Intel 80C196NU User Manual

Page of 471
10-5
EVENT PROCESSOR ARRAY (EPA)
10.3 TIMER/COUNTER FUNCTIONAL OVERVIEW
The EPA has two 16-bit up/down timer/counters, timer 1 and timer 2, which can be clocked in-
ternally or externally. Each is called a timer if it is clocked internally and a counter if it is clocked
externally. Figure 10-2 illustrates the timer/counter structure.
Figure 10-2.  EPA Timer/Counters
T2CLK
f/4
Timer 1 Overflow
T2DIR
T2CONTROL.6
Timer 1
T1CLK
f/4
Prescaler
Module
T1CONTROL.2:0
3
T1CONTROL.6
T1DIR
Overflow
OVRTM
Interrupt
A0250-02
Timer 2
Clock
T2CONTROL.2:0
3
Direction
Overflow
OVRTM
Interrupt
Clock
Direction
Quadrature Direction
Quadrature Count
Quadrature Count
Quadrature Direction
T1CONTROL.6
Prescaler
Module
Disable prescaler if quadrature clocking is selected.