Enum efm32lg390_pac::dma::ch1_ctrl::SOURCESEL_A
source · [−]#[repr(u8)]
pub enum SOURCESEL_A {
Show 20 variants
NONE,
ADC0,
DAC0,
USART0,
USART1,
USART2,
LEUART0,
LEUART1,
I2C0,
I2C1,
TIMER0,
TIMER1,
TIMER2,
TIMER3,
UART0,
UART1,
MSC,
AES,
LESENSE,
EBI,
}
Expand description
Source Select
Value on reset: 0
Variants
NONE
0: No source selected
ADC0
8: Analog to Digital Converter 0
DAC0
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
LEUART0
16: Low Energy UART 0
LEUART1
17: Low Energy UART 1
I2C0
20: I2C 0
I2C1
21: I2C 1
TIMER0
24: Timer 0
TIMER1
25: Timer 1
TIMER2
26: Timer 2
TIMER3
27: Timer 3
UART0
44: Universal Asynchronous Receiver/Transmitter 0
UART1
45: Universal Asynchronous Receiver/Transmitter 1
MSC
48: 110000
AES
49: Advanced Encryption Standard Accelerator
LESENSE
50: Low Energy Sensor Interface
EBI
51: External Bus Interface
Trait Implementations
sourceimpl Clone for SOURCESEL_A
impl Clone for SOURCESEL_A
sourcefn clone(&self) -> SOURCESEL_A
fn clone(&self) -> SOURCESEL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SOURCESEL_A
impl Debug for SOURCESEL_A
sourceimpl From<SOURCESEL_A> for u8
impl From<SOURCESEL_A> for u8
sourcefn from(variant: SOURCESEL_A) -> Self
fn from(variant: SOURCESEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SOURCESEL_A> for SOURCESEL_A
impl PartialEq<SOURCESEL_A> for SOURCESEL_A
impl Copy for SOURCESEL_A
impl StructuralPartialEq for SOURCESEL_A
Auto Trait Implementations
impl RefUnwindSafe for SOURCESEL_A
impl Send for SOURCESEL_A
impl Sync for SOURCESEL_A
impl Unpin for SOURCESEL_A
impl UnwindSafe for SOURCESEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more