Crate pit_clock

source ·
Expand description

Full support for the Programmable Interval Timer (PIT) system clock.

This crate allows one to enable/configure PIT interrupts. For a simpler crate that just allows PIT-based waiting, use pit_clock_basic.

Functions

  • Configures the PIT to fire an interrupt at the given frequency (in Hz).
  • Waits (blocking) for the given number of microseconds using the PIT Channel 2.