Enum efm32wg_pac::efm32wg230::prs::ch11_ctrl::SOURCESEL_A
source · #[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
impl Clone for SOURCESEL_A
source§fn clone(&self) -> SOURCESEL_A
fn clone(&self) -> SOURCESEL_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SOURCESEL_A
impl Debug for SOURCESEL_A
source§impl From<SOURCESEL_A> for u8
impl From<SOURCESEL_A> for u8
source§fn from(variant: SOURCESEL_A) -> Self
fn from(variant: SOURCESEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<SOURCESEL_A> for SOURCESEL_A
impl PartialEq<SOURCESEL_A> for SOURCESEL_A
source§fn eq(&self, other: &SOURCESEL_A) -> bool
fn eq(&self, other: &SOURCESEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.