Skip to main content

stop_pit

Function stop_pit 

Source
pub fn stop_pit()
Expand description

Stop PIT channel 0 to prevent phantom interrupts.

Programs channel 0 in mode 0 (one-shot) with count = 0, which effectively disables further periodic interrupts from the PIT. Should be called after the APIC timer has been started.