Enum efm32hg222f64::prs::ch4_ctrl::SOURCESELR
[−]
[src]
pub enum SOURCESELR { NONE, VCMP, ACMP0, ADC0, USART0, USART1, TIMER0, TIMER1, TIMER2, RTC, GPIOL, GPIOH, PCNT0, _Reserved(u8), }
Possible values of the field SOURCESEL
Variants
NONE
No source selected
VCMP
Voltage Comparator
ACMP0
Analog Comparator 0
ADC0
Analog to Digital Converter 0
USART0
Universal Synchronous/Asynchronous Receiver/Transmitter 0
USART1
Universal Synchronous/Asynchronous Receiver/Transmitter 1
TIMER0
Timer 0
TIMER1
Timer 1
TIMER2
Timer 2
RTC
Real-Time Counter
GPIOL
General purpose Input/Output
GPIOH
General purpose Input/Output
PCNT0
Pulse Counter 0
_Reserved(u8)
Reserved
Methods
impl SOURCESELR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_none(&self) -> bool
[src]
Checks if the value of the field is NONE
fn is_vcmp(&self) -> bool
[src]
Checks if the value of the field is VCMP
fn is_acmp0(&self) -> bool
[src]
Checks if the value of the field is ACMP0
fn is_adc0(&self) -> bool
[src]
Checks if the value of the field is ADC0
fn is_usart0(&self) -> bool
[src]
Checks if the value of the field is USART0
fn is_usart1(&self) -> bool
[src]
Checks if the value of the field is USART1
fn is_timer0(&self) -> bool
[src]
Checks if the value of the field is TIMER0
fn is_timer1(&self) -> bool
[src]
Checks if the value of the field is TIMER1
fn is_timer2(&self) -> bool
[src]
Checks if the value of the field is TIMER2
fn is_rtc(&self) -> bool
[src]
Checks if the value of the field is RTC
fn is_gpiol(&self) -> bool
[src]
Checks if the value of the field is GPIOL
fn is_gpioh(&self) -> bool
[src]
Checks if the value of the field is GPIOH
fn is_pcnt0(&self) -> bool
[src]
Checks if the value of the field is PCNT0
Trait Implementations
impl Clone for SOURCESELR
[src]
fn clone(&self) -> SOURCESELR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for SOURCESELR
[src]
impl Debug for SOURCESELR
[src]
impl PartialEq for SOURCESELR
[src]
fn eq(&self, __arg_0: &SOURCESELR) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SOURCESELR) -> bool
[src]
This method tests for !=
.