Enum efm32lg390_pac::prs::ch3_ctrl::SOURCESEL_A
source · [−]#[repr(u8)]
pub enum SOURCESEL_A {
Show 24 variants
NONE,
VCMP,
ACMP0,
ACMP1,
DAC0,
ADC0,
USART0,
USART1,
USART2,
TIMER0,
TIMER1,
TIMER2,
TIMER3,
USB,
RTC,
UART0,
UART1,
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
USB
36: Universal Serial Bus Interface
RTC
40: Real-Time Counter
UART0
41: Universal Asynchronous Receiver/Transmitter 0
UART1
42: Universal Asynchronous Receiver/Transmitter 1
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
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