[][src]Enum efr32xg1::adc0::scanctrl::RESR

pub enum RESR {
    _12BIT,
    _8BIT,
    _6BIT,
    OVS,
}

Possible values of the field RES

Variants

_12BIT

12-bit resolution

_8BIT

8-bit resolution

_6BIT

6-bit resolution

OVS

Oversampling enabled. Oversampling rate is set in OVSRSEL

Methods

impl RESR
[src]

pub fn bits(&self) -> u8
[src]

Value of the field as raw bits

pub fn is_12bit(&self) -> bool
[src]

Checks if the value of the field is _12BIT

pub fn is_8bit(&self) -> bool
[src]

Checks if the value of the field is _8BIT

pub fn is_6bit(&self) -> bool
[src]

Checks if the value of the field is _6BIT

pub fn is_ovs(&self) -> bool
[src]

Checks if the value of the field is OVS

Trait Implementations

impl Copy for RESR
[src]

impl PartialEq<RESR> for RESR
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for RESR
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RESR
[src]

Auto Trait Implementations

impl Send for RESR

impl Sync for RESR

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]