pub struct HpetInfo {
pub event_timer_block_id: u32,
pub base_address: usize,
pub hpet_number: u8,
pub clock_tick_unit: u16,
pub page_protection: PageProtection,
}
Expand description
Information about the High Precision Event Timer (HPET)
Fields§
§event_timer_block_id: u32
§base_address: usize
§hpet_number: u8
§clock_tick_unit: u16
The minimum number of clock ticks that can be set without losing interrupts (for timers in Periodic Mode)
page_protection: PageProtection
Implementations§
source§impl HpetInfo
impl HpetInfo
pub fn new<H>(tables: &AcpiTables<H>) -> Result<HpetInfo, AcpiError>where H: AcpiHandler,
pub fn hardware_rev(&self) -> u8
pub fn num_comparators(&self) -> u8
pub fn main_counter_is_64bits(&self) -> bool
pub fn legacy_irq_capable(&self) -> bool
pub fn pci_vendor_id(&self) -> u16
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HpetInfo
impl Send for HpetInfo
impl Sync for HpetInfo
impl Unpin for HpetInfo
impl UnwindSafe for HpetInfo
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