[]Struct sunrise_kernel::devices::hpet::HpetGeneralConfigurationRegister

pub struct HpetGeneralConfigurationRegister(pub u32);

Represent the General Configuration Register.

Implementations

impl HpetGeneralConfigurationRegister

pub fn enable_config(&self) -> bool

Control HPET activation (control main timer activation state and timer interrupts activation).

pub fn set_enable_config(&mut self, value: bool)

Control HPET activation (control main timer activation state and timer interrupts activation).

pub fn legacy_rt_config(&self) -> bool

Control "legacy replacement" mapping activation state.

pub fn set_legacy_rt_config(&mut self, value: bool)

Control "legacy replacement" mapping activation state.

Trait Implementations

impl<T> BitRange<T> for HpetGeneralConfigurationRegister where
    u32: BitRange<T>, 

impl Clone for HpetGeneralConfigurationRegister[src]

impl Copy for HpetGeneralConfigurationRegister[src]

impl Debug for HpetGeneralConfigurationRegister[src]

Auto Trait Implementations

impl RefUnwindSafe for HpetGeneralConfigurationRegister

impl Send for HpetGeneralConfigurationRegister

impl Sync for HpetGeneralConfigurationRegister

impl Unpin for HpetGeneralConfigurationRegister

impl UnwindSafe for HpetGeneralConfigurationRegister

Blanket Implementations

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

impl<T> Bit for T where
    T: BitRange<u8>, 

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.