#[repr(u64)]pub enum TimerDivide {
Div2 = 0,
Div4 = 1,
Div8 = 2,
Div16 = 3,
Div32 = 4,
Div64 = 5,
Div128 = 6,
Div1 = 7,
}Expand description
Timer divide configuration values (IA32_X2APIC_TIMER_DIV, MSR 0x83E).
The timer frequency is the bus clock (or core crystal clock) divided by the value encoded here. After reset the register is 0 (= divide by 2).
Variants§
Div2 = 0
Divide by 2 (reset default).
Div4 = 1
Divide by 4.
Div8 = 2
Divide by 8.
Div16 = 3
Divide by 16.
Div32 = 4
Divide by 32.
Div64 = 5
Divide by 64.
Div128 = 6
Divide by 128.
Div1 = 7
Divide by 1.
Trait Implementations§
Source§impl Clone for TimerDivide
impl Clone for TimerDivide
Source§fn clone(&self) -> TimerDivide
fn clone(&self) -> TimerDivide
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerDivide
Source§impl Debug for TimerDivide
impl Debug for TimerDivide
impl Eq for TimerDivide
Source§impl PartialEq for TimerDivide
impl PartialEq for TimerDivide
impl StructuralPartialEq for TimerDivide
Auto Trait Implementations§
impl Freeze for TimerDivide
impl RefUnwindSafe for TimerDivide
impl Send for TimerDivide
impl Sync for TimerDivide
impl Unpin for TimerDivide
impl UnsafeUnpin for TimerDivide
impl UnwindSafe for TimerDivide
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more