Skip to main content

init_pit

Function init_pit 

Source
pub fn init_pit(frequency_hz: u32)
Expand description

Initialize the Programmable Interval Timer (PIT)

Configures PIT channel 0 to generate interrupts at the specified frequency. Used as a fallback when APIC timer calibration fails.