[−]Struct sunrise_kernel::devices::hpet::HpetGeneralConfigurationRegister
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>,
u32: BitRange<T>,
fn bit_range(&self, msb: usize, lsb: usize) -> T
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
impl Clone for HpetGeneralConfigurationRegister[src]
fn clone(&self) -> HpetGeneralConfigurationRegister[src]
fn clone_from(&mut self, source: &Self)1.0.0[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]
T: 'static + ?Sized,
impl<T> Bit for T where
T: BitRange<u8>,
T: BitRange<u8>,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,