Engineering 4862 Microprocessors: Cheng Li
Engineering 4862 Microprocessors: Cheng Li
Lecture 27
Cheng Li
EN-4012
[email protected]
8253 / 8254 Timer
• A.k.a. PIT (programmable Interval Timer), used
to bring down the frequency to the desired level
• Three counters inside 8253/8254. Each works
independently and is programmed separately to
divide the input frequency by a number from 1
to 65536
• There are 4 port address needed for a single
8253/8254, given by A0, A1, and CS
CS A1 A0 Select
0 0 0 Counter 0
0 0 1 Counter 1
0 1 0 Counter 2
0 1 1 Control Reg.
Engr 4862 Microprocessors
8253 / 8254 Timer