MUXPOS_A

Enum MUXPOS_A 

Source
pub enum MUXPOS_A {
Show 32 variants AIN0, AIN1, AIN2, AIN3, AIN4, AIN5, AIN6, AIN7, AIN8, AIN9, AIN10, AIN11, AIN12, AIN13, AIN14, AIN15, AIN16, AIN17, AIN18, AIN19, AIN20, AIN21, AIN22, AIN23, TEMP, BANDGAP, SCALEDCOREVCC, SCALEDIOVCC, DAC, SCALEDVBAT, OPAMP01, OPAMP2,
}
Expand description

Possible values of the field MUXPOS

Variants§

§

AIN0

ADC AIN0 Pin

§

AIN1

ADC AIN1 Pin

§

AIN2

ADC AIN2 Pin

§

AIN3

ADC AIN3 Pin

§

AIN4

ADC AIN4 Pin

§

AIN5

ADC AIN5 Pin

§

AIN6

ADC AIN6 Pin

§

AIN7

ADC AIN7 Pin

§

AIN8

ADC AIN8 Pin

§

AIN9

ADC AIN9 Pin

§

AIN10

ADC AIN10 Pin

§

AIN11

ADC AIN11 Pin

§

AIN12

ADC AIN12 Pin

§

AIN13

ADC AIN13 Pin

§

AIN14

ADC AIN14 Pin

§

AIN15

ADC AIN15 Pin

§

AIN16

ADC AIN16 Pin

§

AIN17

ADC AIN17 Pin

§

AIN18

ADC AIN18 Pin

§

AIN19

ADC AIN19 Pin

§

AIN20

ADC AIN20 Pin

§

AIN21

ADC AIN21 Pin

§

AIN22

ADC AIN22 Pin

§

AIN23

ADC AIN23 Pin

§

TEMP

Temperature Sensor

§

BANDGAP

Bandgap Voltage

§

SCALEDCOREVCC

1/4 Scaled Core Supply

§

SCALEDIOVCC

1/4 Scaled I/O Supply

§

DAC

DAC Output

§

SCALEDVBAT

1/4 Scaled VBAT Supply

§

OPAMP01

OPAMP0 or OPAMP1 output

§

OPAMP2

OPAMP2 output

Trait Implementations§

Source§

impl Clone for MUXPOS_A

Source§

fn clone(&self) -> MUXPOS_A

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MUXPOS_A

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for MUXPOS_A

Source§

fn eq(&self, other: &MUXPOS_A) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToBits<u8> for MUXPOS_A

Source§

fn _bits(&self) -> u8

Conversion method
Source§

impl Copy for MUXPOS_A

Source§

impl StructuralPartialEq for MUXPOS_A

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.