[−]Enum arduino_mkrzero::pm::cpusel::CPUDIVR
Possible values of the field CPUDIV
Variants
DIV1Divide by 1
DIV2Divide by 2
DIV4Divide by 4
DIV8Divide by 8
DIV16Divide by 16
DIV32Divide by 32
DIV64Divide by 64
DIV128Divide by 128
Methods
impl CPUDIVR
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_div1(&self) -> bool
Checks if the value of the field is DIV1
pub fn is_div2(&self) -> bool
Checks if the value of the field is DIV2
pub fn is_div4(&self) -> bool
Checks if the value of the field is DIV4
pub fn is_div8(&self) -> bool
Checks if the value of the field is DIV8
pub fn is_div16(&self) -> bool
Checks if the value of the field is DIV16
pub fn is_div32(&self) -> bool
Checks if the value of the field is DIV32
pub fn is_div64(&self) -> bool
Checks if the value of the field is DIV64
pub fn is_div128(&self) -> bool
Checks if the value of the field is DIV128
Trait Implementations
impl PartialEq<CPUDIVR> for CPUDIVR
fn eq(&self, other: &CPUDIVR) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl Debug for CPUDIVR
impl Copy for CPUDIVR
impl Clone for CPUDIVR
fn clone(&self) -> CPUDIVR
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom 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> From for T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,