[INTEL NAVIGATION HEADER]

8254/82C54: Introduction to Programmable
Interval Timer

WHY IS THE DEVICE NEEDED?

It generates accurate time delays under software control. Instead of setting up timing loops in software, the programmer configures the interval timer to match system requirements and programs the counter for the desired delay or for the desired output. Some common timer/counter/output functions which microprocessors require are: real time clock, event counter, digital one-shot, programmable rate generator, square wave generator, binary rate multiplier, complex wave form generator, and complex motor control.

HOW DOES IT WORK?

BASIC OPERATION:

MAJOR DEVICE BLOCKS:

DATA BUS BUFFER:
READ/WRITE LOGIC BLOCK:
CONTROL WORD REGISTER:
COUNTERS:

COUNTER DESCRIPTION:

COUNTING ELEMENT, OLm, OLl, OL:
CE, CRm, CRl, CR:

PROGRAMMING THE 8254:

WRITE OPERATIONS:

There are two conventions for writing to the 8254:

READ OPERATIONS:

The value of a Counter can be read by any one of the following three methods:

MODE DEFINITIONS:

MODE 0: INTERRUPT ON TERMINAL COUNT
MODE 1: HARDWARE RETRIGGERABLE ONE-SHOT
MODE 2: RATE GENERATOR
MODE 3: SQUARE WAVE MODE
MODE 4: SOFTWARE TRIGGERED STROBE
MODE 5: HARDWARE TRIGGERED STROBE (RETRIGGERABLE)

OPERATION COMMON TO ALL MODES:



Legal Stuff © 1997 Intel Corporation

Free Web Hosting