[][src]Enum k22f::adc0::cfg1::MODE_A

#[repr(u8)]pub enum MODE_A {
    _00,
    _01,
    _10,
    _11,
}

Conversion mode selection

Value on reset: 0

Variants

_00

0: When DIFF=0:It is single-ended 8-bit conversion; when DIFF=1, it is differential 9-bit conversion with 2's complement output.

_01

1: When DIFF=0:It is single-ended 12-bit conversion ; when DIFF=1, it is differential 13-bit conversion with 2's complement output.

_10

2: When DIFF=0:It is single-ended 10-bit conversion ; when DIFF=1, it is differential 11-bit conversion with 2's complement output.

_11

3: When DIFF=0:It is single-ended 16-bit conversion; when DIFF=1, it is differential 16-bit conversion with 2's complement output.

Trait Implementations

impl Clone for MODE_A[src]

impl Copy for MODE_A[src]

impl Debug for MODE_A[src]

impl From<MODE_A> for u8[src]

impl PartialEq<MODE_A> for MODE_A[src]

impl StructuralPartialEq for MODE_A[src]

Auto Trait Implementations

impl Send for MODE_A

impl Sync for MODE_A

impl Unpin for MODE_A

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.