#[repr(C)]pub struct HpetTimer {
pub configuration_and_capability: Volatile<u64>,
pub comparator_value: Volatile<u64>,
pub fsb_interrupt_route: Volatile<u64>,
/* private fields */
}
Expand description
A structure that wraps HPET I/O register for each timer comparator, specified by the format here: https://wiki.osdev.org/HPET#HPET_registers. There are between 3 and 32 of these in an HPET-enabled system.
Fields§
§configuration_and_capability: Volatile<u64>
This timer’s Configuration and Capability register.
comparator_value: Volatile<u64>
This timer’s Comparator Value register.
fsb_interrupt_route: Volatile<u64>
This timer’s FSB Interrupt Route register. Some info here: https://wiki.osdev.org/HPET#FSB_mapping
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HpetTimer
impl Send for HpetTimer
impl Sync for HpetTimer
impl Unpin for HpetTimer
impl UnwindSafe for HpetTimer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more