Timer/Counter Functional Overview - Intel 8XC196K Series User Manual

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL

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.
T2CLK
F
/4
OSC
Quadrature Count
Timer 1 Overflow
T2DIR
T2CONTROL.6
Quadrature Direction
T1CLK
F
/4
OSC
Quadrature Count
T1DIR
T1CONTROL.6
Quadrature Direction
= 8XC196K x only
10-6
T2CONTROL.2:0
3
Prescaler
Module
T1CONTROL.2:0
3
Prescaler
Module
Figure 10-2. EPA Timer/Counters
Timer 2
Clock
Overflow
OVR2
Interrupt
Direction
Timer 1
Clock
Overflow
OVR1
Interrupt
Direction
A3129-01

Advertisement

Table of Contents
loading

Table of Contents