[][src]Struct sunrise_kernel::devices::hpet::HpetRegister

#[repr(packed)]pub struct HpetRegister {
    pub identifier: Mmio<HpetIdRegister>,
    pub period: Mmio<u32>,
    _reserved0: u64,
    pub general_configuration: Mmio<HpetGeneralConfigurationRegister>,
    _reserved1: u32,
    _reserved2: u64,
    pub general_interrupt_status: Mmio<u32>,
    _reserved3: [u8; 204],
    pub main_counter_value: Mmio<u64>,
    _reserved4: u64,
}

Representation of HPET non variable registers.

Fields

identifier: Mmio<HpetIdRegister>

Information about the HPET model.

period: Mmio<u32>

Main counter tick period in femtoseconds (10^-15 seconds). Must not be zero, must be less or equal to 0x05F5E100, or 100 nanoseconds.

_reserved0: u64general_configuration: Mmio<HpetGeneralConfigurationRegister>

General Configuration Register.

_reserved1: u32_reserved2: u64general_interrupt_status: Mmio<u32>

General Interrupt Status Register.

_reserved3: [u8; 204]main_counter_value: Mmio<u64>

main counter value.

_reserved4: u64

Trait Implementations

impl Debug for HpetRegister[src]

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]

Debug does not access reserved registers.

Auto Trait Implementations

impl RefUnwindSafe for HpetRegister

impl Send for HpetRegister

impl Sync for HpetRegister

impl Unpin for HpetRegister

impl UnwindSafe for HpetRegister

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.