#[repr(u8)]
pub enum SOURCESEL_A {
Show 21 variants NONE, VCMP, ACMP0, ACMP1, DAC0, ADC0, USART0, USART1, USART2, TIMER0, TIMER1, TIMER2, TIMER3, RTC, GPIOL, GPIOH, LETIMER0, BURTC, LESENSEL, LESENSEH, LESENSED,
}
Expand description

Source Select

Value on reset: 0

Variants§

§

NONE

0: No source selected

§

VCMP

1: Voltage Comparator

§

ACMP0

2: Analog Comparator 0

§

ACMP1

3: Analog Comparator 1

§

DAC0

6: Digital to Analog Converter 0

§

ADC0

8: Analog to Digital Converter 0

§

USART0

16: Universal Synchronous/Asynchronous Receiver/Transmitter 0

§

USART1

17: Universal Synchronous/Asynchronous Receiver/Transmitter 1

§

USART2

18: Universal Synchronous/Asynchronous Receiver/Transmitter 2

§

TIMER0

28: Timer 0

§

TIMER1

29: Timer 1

§

TIMER2

30: Timer 2

§

TIMER3

31: Timer 3

§

RTC

40: Real-Time Counter

§

GPIOL

48: General purpose Input/Output

§

GPIOH

49: General purpose Input/Output

§

LETIMER0

52: Low Energy Timer 0

§

BURTC

55: Backup RTC

§

LESENSEL

57: Low Energy Sensor Interface

§

LESENSEH

58: Low Energy Sensor Interface

§

LESENSED

59: Low Energy Sensor Interface

Trait Implementations§

source§

impl Clone for SOURCESEL_A

source§

fn clone(&self) -> SOURCESEL_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 SOURCESEL_A

source§

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

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

impl From<SOURCESEL_A> for u8

source§

fn from(variant: SOURCESEL_A) -> Self

Converts to this type from the input type.
source§

impl PartialEq<SOURCESEL_A> for SOURCESEL_A

source§

fn eq(&self, other: &SOURCESEL_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 SOURCESEL_A

source§

impl Eq for SOURCESEL_A

source§

impl StructuralEq for SOURCESEL_A

source§

impl StructuralPartialEq for SOURCESEL_A

Auto Trait Implementations§

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.