Enum stm32f103xx::tim1::cr1::CKDR [−][src]
pub enum CKDR {
NODIV,
DIV2,
DIV4,
_Reserved(u8),
}Possible values of the field CKD
Variants
NODIVClock is not divided
DIV2Clock is divided by 2
DIV4Clock is divided by 4
_Reserved(u8)Reserved
Methods
impl CKDR[src]
impl CKDRpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_no_div(&self) -> bool[src]
pub fn is_no_div(&self) -> boolChecks if the value of the field is NODIV
pub fn is_div2(&self) -> bool[src]
pub fn is_div2(&self) -> boolChecks if the value of the field is DIV2
pub fn is_div4(&self) -> bool[src]
pub fn is_div4(&self) -> boolChecks if the value of the field is DIV4
Trait Implementations
impl Clone for CKDR[src]
impl Clone for CKDRfn clone(&self) -> CKDR[src]
fn clone(&self) -> CKDRReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for CKDR[src]
impl Copy for CKDRimpl Debug for CKDR[src]
impl Debug for CKDRfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for CKDR[src]
impl PartialEq for CKDR