#[repr(u8)]
pub enum SOURCESEL_A {
Show 46 variants NONE, PRSL, PRS, PRSH, ACMP0, ACMP1, ADC0, RTC, RTCC, GPIOL, GPIOH, LETIMER0, LETIMER1, PCNT0, PCNT1, PCNT2, CRYOTIMER, CMU, VDAC0, LESENSEL, LESENSEH, LESENSED, LESENSE, ACMP2, ACMP3, ADC1, USART0, USART1, USART2, USART3, USART4, USART5, UART0, UART1, TIMER0, TIMER1, TIMER2, CM4, TIMER3, WTIMER0, WTIMER1, WTIMER2, WTIMER3, TIMER4, TIMER5, TIMER6,
}
Expand description

Source Select

Value on reset: 0

Variants§

§

NONE

0: No source selected

§

PRSL

1: Peripheral Reflex System

§

PRS

2: Peripheral Reflex System

§

PRSH

3: Peripheral Reflex System

§

ACMP0

4: Analog Comparator 0

§

ACMP1

5: Analog Comparator 1

§

ADC0

6: Analog to Digital Converter 0

§

RTC

7: Real-Time Counter

§

RTCC

8: Real-Time Counter and Calendar

§

GPIOL

9: General purpose Input/Output

§

GPIOH

10: General purpose Input/Output

§

LETIMER0

11: Low Energy Timer 0

§

LETIMER1

12: Low Energy Timer 1

§

PCNT0

13: Pulse Counter 0

§

PCNT1

14: Pulse Counter 1

§

PCNT2

15: Pulse Counter 2

§

CRYOTIMER

16: CRYOTIMER

§

CMU

17: Clock Management Unit

§

VDAC0

23: Digital to Analog Converter 0

§

LESENSEL

24: Low Energy Sensor Interface

§

LESENSEH

25: Low Energy Sensor Interface

§

LESENSED

26: Low Energy Sensor Interface

§

LESENSE

27: Low Energy Sensor Interface

§

ACMP2

28: Analog Comparator 1

§

ACMP3

29: Analog Comparator 3

§

ADC1

30: Analog to Digital Converter 0

§

USART0

48: Universal Synchronous/Asynchronous Receiver/Transmitter 0

§

USART1

49: Universal Synchronous/Asynchronous Receiver/Transmitter 1

§

USART2

50: Universal Synchronous/Asynchronous Receiver/Transmitter 2

§

USART3

51: Universal Synchronous/Asynchronous Receiver/Transmitter 3

§

USART4

52: Universal Synchronous/Asynchronous Receiver/Transmitter 4

§

USART5

53: Universal Synchronous/Asynchronous Receiver/Transmitter 5

§

UART0

54: Universal Asynchronous Receiver/Transmitter 0

§

UART1

55: Universal Asynchronous Receiver/Transmitter 1

§

TIMER0

60: Timer 0

§

TIMER1

61: Timer 1

§

TIMER2

62: Timer 2

§

CM4

67: 1000011

§

TIMER3

80: Timer 3

§

WTIMER0

82: Wide Timer 0

§

WTIMER1

83: Wide Timer 0

§

WTIMER2

84: Wide Timer 2

§

WTIMER3

85: Wide Timer 3

§

TIMER4

98: Timer 4

§

TIMER5

99: Timer 5

§

TIMER6

100: Timer 6

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.