Programmable Interval Timer
From Wikipedia, the free encyclopedia
This article does not cite any references or sources. (June 2008) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
In computing, a Programmable Interval Timer (PIT) is a counter which triggers an interrupt when it reaches the programmed count.
Contents |
[edit] Common Features
PITs counters may be one-shot or periodic. One-shot timers interrupt only once, and then stop counting. Periodic timers interrupt every time they reach a specific value.
Counters are usually programmed with fixed increment intervals which determine how long the counter counts before it triggers an interrupt. The interval increments therefore determine the resolution for which the counter may be programmed to generate its one-shot or periodic interrupt.
[edit] Well Known PITs
Some of the best known PITs are the Intel 8253 and Intel 8254 family.
[edit] IBM PC compatible
PITs are the oldest timing devices used on IBM PC compatibles. They use a 1.193182 MHz crystal oscillator (one third of NTSC color burst) and contain three timers. Timer 0 is used by Microsoft Windows (uniprocessor) and Linux as a system timer, timer 1 was historically used for RAM refreshes and timer 2 for the PC speaker.