Enum atsamd21e18a::pm::cpusel::CPUDIVR
[−]
[src]
pub enum CPUDIVR { DIV1, DIV2, DIV4, DIV8, DIV16, DIV32, DIV64, DIV128, }
Possible values of the field CPUDIV
Variants
DIV1
Divide by 1
DIV2
Divide by 2
DIV4
Divide by 4
DIV8
Divide by 8
DIV16
Divide by 16
DIV32
Divide by 32
DIV64
Divide by 64
DIV128
Divide by 128
Methods
impl CPUDIVR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_div1(&self) -> bool
[src]
Checks if the value of the field is DIV1
pub fn is_div2(&self) -> bool
[src]
Checks if the value of the field is DIV2
pub fn is_div4(&self) -> bool
[src]
Checks if the value of the field is DIV4
pub fn is_div8(&self) -> bool
[src]
Checks if the value of the field is DIV8
pub fn is_div16(&self) -> bool
[src]
Checks if the value of the field is DIV16
pub fn is_div32(&self) -> bool
[src]
Checks if the value of the field is DIV32
pub fn is_div64(&self) -> bool
[src]
Checks if the value of the field is DIV64
pub fn is_div128(&self) -> bool
[src]
Checks if the value of the field is DIV128
Trait Implementations
impl Clone for CPUDIVR
[src]
fn clone(&self) -> CPUDIVR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CPUDIVR
[src]
impl Debug for CPUDIVR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more