[][src]Enum stm32h7::stm32h743v::adc3::cfgr::RESR

pub enum RESR {
    SIXTEENBIT,
    FOURTEENBIT,
    TWELVEBIT,
    TENBIT,
    EIGHTBIT,
    _Reserved(u8),
}

Possible values of the field RES

Variants

SIXTEENBIT

16-bit resolution

FOURTEENBIT

14-bit resolution

TWELVEBIT

12-bit resolution

TENBIT

10-bit resolution

EIGHTBIT

8-bit resolution

_Reserved(u8)

Reserved

Methods

impl RESR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is SIXTEENBIT

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

Checks if the value of the field is FOURTEENBIT

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

Checks if the value of the field is TWELVEBIT

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

Checks if the value of the field is TENBIT

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

Checks if the value of the field is EIGHTBIT

Trait Implementations

impl Debug for RESR[src]

impl PartialEq<RESR> for RESR[src]

impl Copy for RESR[src]

impl Clone for RESR[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Unpin for RESR

impl Send for RESR

impl Sync for RESR

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self