Enum nrf52840::clock::lfclksrccopy::SRCR [−][src]
pub enum SRCR { RC, XTAL, SYNTH, _Reserved(u8), }
Possible values of the field SRC
Variants
RC
32.768 kHz RC oscillator (LFRC)
XTAL
32.768 kHz crystal oscillator (LFXO)
SYNTH
32.768 kHz synthesized from HFCLK (LFSYNT)
_Reserved(u8)
Reserved
Methods
impl SRCR
[src]
impl SRCR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_rc(&self) -> bool
[src]
pub fn is_rc(&self) -> bool
Checks if the value of the field is RC
pub fn is_xtal(&self) -> bool
[src]
pub fn is_xtal(&self) -> bool
Checks if the value of the field is XTAL
pub fn is_synth(&self) -> bool
[src]
pub fn is_synth(&self) -> bool
Checks if the value of the field is SYNTH
Trait Implementations
impl Clone for SRCR
[src]
impl Clone for SRCR
fn clone(&self) -> SRCR
[src]
fn clone(&self) -> SRCR
Returns 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 SRCR
[src]
impl Copy for SRCR
impl Debug for SRCR
[src]
impl Debug for SRCR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SRCR
[src]
impl PartialEq for SRCR