Enum atsame54n::adc0::inputctrl::MUXPOSSELECT_A

source ·
#[repr(u8)]
pub enum MUXPOSSELECT_A {
Show 32 variants AIN0 = 0, AIN1 = 1, AIN2 = 2, AIN3 = 3, AIN4 = 4, AIN5 = 5, AIN6 = 6, AIN7 = 7, AIN8 = 8, AIN9 = 9, AIN10 = 10, AIN11 = 11, AIN12 = 12, AIN13 = 13, AIN14 = 14, AIN15 = 15, AIN16 = 16, AIN17 = 17, AIN18 = 18, AIN19 = 19, AIN20 = 20, AIN21 = 21, AIN22 = 22, AIN23 = 23, SCALEDCOREVCC = 24, SCALEDVBAT = 25, SCALEDIOVCC = 26, BANDGAP = 27, PTAT = 28, CTAT = 29, DAC = 30, PTC = 31,
}
Expand description

Positive Mux Input Selection

Value on reset: 0

Variants§

§

AIN0 = 0

0: ADC AIN0 Pin

§

AIN1 = 1

1: ADC AIN1 Pin

§

AIN2 = 2

2: ADC AIN2 Pin

§

AIN3 = 3

3: ADC AIN3 Pin

§

AIN4 = 4

4: ADC AIN4 Pin

§

AIN5 = 5

5: ADC AIN5 Pin

§

AIN6 = 6

6: ADC AIN6 Pin

§

AIN7 = 7

7: ADC AIN7 Pin

§

AIN8 = 8

8: ADC AIN8 Pin

§

AIN9 = 9

9: ADC AIN9 Pin

§

AIN10 = 10

10: ADC AIN10 Pin

§

AIN11 = 11

11: ADC AIN11 Pin

§

AIN12 = 12

12: ADC AIN12 Pin

§

AIN13 = 13

13: ADC AIN13 Pin

§

AIN14 = 14

14: ADC AIN14 Pin

§

AIN15 = 15

15: ADC AIN15 Pin

§

AIN16 = 16

16: ADC AIN16 Pin

§

AIN17 = 17

17: ADC AIN17 Pin

§

AIN18 = 18

18: ADC AIN18 Pin

§

AIN19 = 19

19: ADC AIN19 Pin

§

AIN20 = 20

20: ADC AIN20 Pin

§

AIN21 = 21

21: ADC AIN21 Pin

§

AIN22 = 22

22: ADC AIN22 Pin

§

AIN23 = 23

23: ADC AIN23 Pin

§

SCALEDCOREVCC = 24

24: 1/4 Scaled Core Supply

§

SCALEDVBAT = 25

25: 1/4 Scaled VBAT Supply

§

SCALEDIOVCC = 26

26: 1/4 Scaled I/O Supply

§

BANDGAP = 27

27: Bandgap Voltage

§

PTAT = 28

28: Temperature Sensor

§

CTAT = 29

29: Temperature Sensor

§

DAC = 30

30: DAC Output

§

PTC = 31

31: PTC output (only on ADC0)

Trait Implementations§

source§

impl Clone for MUXPOSSELECT_A

source§

fn clone(&self) -> MUXPOSSELECT_A

Returns a copy 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 MUXPOSSELECT_A

source§

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

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

impl FieldSpec for MUXPOSSELECT_A

§

type Ux = u8

Raw field type (u8, u16, u32, …).
source§

impl From<MUXPOSSELECT_A> for u8

source§

fn from(variant: MUXPOSSELECT_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq for MUXPOSSELECT_A

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for MUXPOSSELECT_A

source§

impl Eq for MUXPOSSELECT_A

source§

impl StructuralPartialEq for MUXPOSSELECT_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> 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, U> TryFrom<U> for T
where U: Into<T>,

§

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

§

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.