Enum nrf52::saadc::samplerate::MODER
[−]
[src]
pub enum MODER { TASK, TIMERS, }
Possible values of the field MODE
Variants
TASK
Rate is controlled from SAMPLE task
TIMERS
Rate is controlled from local timer (use CC to control the rate)
Methods
impl MODER
[src]
fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
fn bit(&self) -> bool
[src]
Value of the field as raw bits
fn is_task(&self) -> bool
[src]
Checks if the value of the field is TASK
fn is_timers(&self) -> bool
[src]
Checks if the value of the field is TIMERS
Trait Implementations
impl Clone for MODER
[src]
fn clone(&self) -> MODER
[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