Skip to main content
pit_set_freq
strat9_
kernel
0.1.0
In strat9_
kernel::
arch::
x86_
64::
speaker
strat9_kernel
::
arch
::
x86_64
::
speaker
Function
pit_
set_
freq
Copy item path
Source
unsafe fn pit_set_freq(hz:
u32
)
Expand description
Set the PIT channel 2 frequency.
hz
= 0 disables the tone.