Hello,
Is there any difference between the three PIT counters? If yes, then which one do I have to use in which situation?
Thank you in advance.
PIT counters
Re:PIT counters
Hi,
Channel 0: Used for system timer tick. Output connected to IRQ1.
Channel 1: Used for DMA refresh on old machines (output connected to RAM controller). Not connected to any IRQ.
Channel 2: Used for "PC speaker" control - output connected to speaker, so setting channel 2 frequency determines speaker tone. Not connected to any IRQ.
Cheers,
Brendan
There's no difference in how each channel works, but the output of each channel is connected to different things. In general:ManOfSteel wrote: Hello,
Is there any difference between the three PIT counters? If yes, then which one do I have to use in which situation?
Channel 0: Used for system timer tick. Output connected to IRQ1.
Channel 1: Used for DMA refresh on old machines (output connected to RAM controller). Not connected to any IRQ.
Channel 2: Used for "PC speaker" control - output connected to speaker, so setting channel 2 frequency determines speaker tone. Not connected to any IRQ.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.