Open In App
Related Articles

Microprocessor | 8254 programmable interval timer

Improve Article
Save Article
Like Article

8254 is a device designed to solve the timing control problems in a microprocessor. It has 3 independent counters, each capable of handling clock inputs up to 10 MHz, and size of each counter is 16 bit. It operates in +5V regulated power supply and has 24 pin signals. All modes are software programmable. The 8254 is an advanced version of 8253 which did not offered the feature of read back command. 

The basic block diagram of 8254 is: 

The pin diagram for 8254 is :

Pin Diagram 8254

It has 3 counters each with two inputs (Clock and Gate) and one output. Gate is used to enable or disable counting. When any value of count is loaded and value of gate is set(1), after every step value of count is decremented by 1 until it becomes zero. 

Depending upon the value of CS, A1, and A0 we can determine the addresses of the selected counter. 

0 0 0 C0
0 0 1 C1
0 1 0 C2
0 1 1 Control Register

Applications – 

  1. To generate an accurate time delay 
  2. As an event counter 
  3. Square wave generator 
  4. Rate generator 
  5. Digital one shot 


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 08 Aug, 2022
Like Article
Save Article
Similar Reads