Intel 8XC196MC User Manual page 245

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
T2CONTROL.2:0
F
/4
XTAL1
Timer 1 Overflow/Underflow
T2CONTROL.6
F
/4
XTAL1
T1CLK
T1DIR
T1CONTROL.6
Quadrature Direction
The timer/counters can be used as time bases for input captures, output compares, and pro-
grammed interrupts (software timers). When a counter increments from FFFEH to FFFFH or dec-
rements from 0001H to 0000H, the counter-overflow/underflow interrupt pending bit is set. This
bit can optionally cause an interrupt. The clock source, direction-control source, count direction,
and resolution of the input capture or output compare are all programmable (see "Programming
the Timers" on page 11-15). The maximum count rate is one-half the internal clock rate, or
F
/4 (see "Internal Timing" on page 2-7). This provides a minimum resolution for an input
1
XTAL
capture or output compare of 250 ns (at 16 MHz).
× rescaler_divisor
4
p
---------------------------------------------------------- -
resolution
=
11-6
3
Prescaler
Module
3
Prescaler
Module
Quadrature Count
Figure 11-2. EPA Timer/Counters
F
XTAL1
Get other manuals https://www.bkmanuals.com
Timer 2
Clock
Overflow/
Underflow
TIMER2
Direction
T1CONTROL.2:0
Timer 1
Clock
Overflow/
Underflow
TIMER1
Direction
OVRTM
Interrupt
T1RELOAD
A3131-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents