Enum mk20d7::adc0::sc1::ADCHW

source ·
pub enum ADCHW {
Show 29 variants _00000, _00001, _00010, _00011, _00100, _00101, _00110, _00111, _01000, _01001, _01010, _01011, _01100, _01101, _01110, _01111, _10000, _10001, _10010, _10011, _10100, _10101, _10110, _10111, _11010, _11011, _11101, _11110, _11111,
}
Expand description

Values that can be written to the field ADCH

Variants§

§

_00000

When DIFF=0, DADP0 is selected as input; when DIFF=1, DAD0 is selected as input.

§

_00001

When DIFF=0, DADP1 is selected as input; when DIFF=1, DAD1 is selected as input.

§

_00010

When DIFF=0, DADP2 is selected as input; when DIFF=1, DAD2 is selected as input.

§

_00011

When DIFF=0, DADP3 is selected as input; when DIFF=1, DAD3 is selected as input.

§

_00100

When DIFF=0, AD4 is selected as input; when DIFF=1, it is reserved.

§

_00101

When DIFF=0, AD5 is selected as input; when DIFF=1, it is reserved.

§

_00110

When DIFF=0, AD6 is selected as input; when DIFF=1, it is reserved.

§

_00111

When DIFF=0, AD7 is selected as input; when DIFF=1, it is reserved.

§

_01000

When DIFF=0, AD8 is selected as input; when DIFF=1, it is reserved.

§

_01001

When DIFF=0, AD9 is selected as input; when DIFF=1, it is reserved.

§

_01010

When DIFF=0, AD10 is selected as input; when DIFF=1, it is reserved.

§

_01011

When DIFF=0, AD11 is selected as input; when DIFF=1, it is reserved.

§

_01100

When DIFF=0, AD12 is selected as input; when DIFF=1, it is reserved.

§

_01101

When DIFF=0, AD13 is selected as input; when DIFF=1, it is reserved.

§

_01110

When DIFF=0, AD14 is selected as input; when DIFF=1, it is reserved.

§

_01111

When DIFF=0, AD15 is selected as input; when DIFF=1, it is reserved.

§

_10000

When DIFF=0, AD16 is selected as input; when DIFF=1, it is reserved.

§

_10001

When DIFF=0, AD17 is selected as input; when DIFF=1, it is reserved.

§

_10010

When DIFF=0, AD18 is selected as input; when DIFF=1, it is reserved.

§

_10011

When DIFF=0, AD19 is selected as input; when DIFF=1, it is reserved.

§

_10100

When DIFF=0, AD20 is selected as input; when DIFF=1, it is reserved.

§

_10101

When DIFF=0, AD21 is selected as input; when DIFF=1, it is reserved.

§

_10110

When DIFF=0, AD22 is selected as input; when DIFF=1, it is reserved.

§

_10111

When DIFF=0, AD23 is selected as input; when DIFF=1, it is reserved.

§

_11010

When DIFF=0, Temp sensor (single-ended) is selected as input; when DIFF=1, Temp sensor (differential) is selected as input.

§

_11011

When DIFF=0, Bandgap (single-ended) is selected as input; when DIFF=1, Bandgap (differential) is selected as input.

§

_11101

When DIFF=0, VREFSH is selected as input; when DIFF=1, -VREFSH (differential) is selected as input. Voltage reference selected is determined by the REFSEL bits in the SC2 register.

§

_11110

When DIFF=0, VREFSL is selected as input; when DIFF=1, it is reserved. Voltage reference selected is determined by the REFSEL bits in the SC2 register.

§

_11111

Module disabled.

Auto Trait Implementations§

§

impl RefUnwindSafe for ADCHW

§

impl Send for ADCHW

§

impl Sync for ADCHW

§

impl Unpin for ADCHW

§

impl UnwindSafe for ADCHW

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.