#[repr(u8)]
pub enum SOURCESEL_A {
Show 34 variants NONE, PRS, ADC0, ADC1, VDAC0, USART0, USART1, USART2, USART3, USART4, USART5, UART0, UART1, LEUART0, LEUART1, I2C0, I2C1, I2C2, TIMER0, TIMER1, TIMER2, TIMER3, TIMER4, TIMER5, TIMER6, WTIMER0, WTIMER1, WTIMER2, WTIMER3, MSC, CRYPTO0, EBI, CSEN, LESENSE,
}
Expand description

Source Select

Value on reset: 0

Variants§

§

NONE

0: No source selected

§

PRS

1: Peripheral Reflex System

§

ADC0

8: Analog to Digital Converter 0

§

ADC1

9: Analog to Digital Converter 0

§

VDAC0

10: Digital to Analog Converter 0

§

USART0

12: Universal Synchronous/Asynchronous Receiver/Transmitter 0

§

USART1

13: Universal Synchronous/Asynchronous Receiver/Transmitter 1

§

USART2

14: Universal Synchronous/Asynchronous Receiver/Transmitter 2

§

USART3

15: Universal Synchronous/Asynchronous Receiver/Transmitter 3

§

USART4

16: Universal Synchronous/Asynchronous Receiver/Transmitter 4

§

USART5

17: Universal Synchronous/Asynchronous Receiver/Transmitter 5

§

UART0

18: Universal Asynchronous Receiver/Transmitter 0

§

UART1

19: Universal Asynchronous Receiver/Transmitter 1

§

LEUART0

20: Low Energy UART 0

§

LEUART1

21: Low Energy UART 1

§

I2C0

22: I2C 0

§

I2C1

23: I2C 1

§

I2C2

24: I2C 2

§

TIMER0

25: Timer 0

§

TIMER1

26: Timer 1

§

TIMER2

27: Timer 2

§

TIMER3

28: Timer 3

§

TIMER4

29: Timer 4

§

TIMER5

30: Timer 5

§

TIMER6

31: Timer 6

§

WTIMER0

32: Wide Timer 0

§

WTIMER1

33: Wide Timer 0

§

WTIMER2

34: Wide Timer 2

§

WTIMER3

35: Wide Timer 3

§

MSC

48: Memory System Controller

§

CRYPTO0

49: Advanced Encryption Standard Accelerator

§

EBI

50: External Bus Interface

§

CSEN

61: Capacitive touch sense module

§

LESENSE

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