rstubs::arch

Module pit

source
Expand description

The old/historical PIT “Programmable Interval Timer (PIT)”

Structs§

  • Ctrl 🔒
    Timer control register
  • Mode 🔒
    Mode register (only writable)
  • Historically, PCs had a Timer component of type 8253 or 8254, modern systems come with a compatible chip. Each of these chips provides three 16-bit wide counters (“channel”), each running at a frequency of 1.19318 MHz. The timer’s counting speed is thereby independent from the CPU frequency.

Enums§

Constants§