Enum efm32gg990::prs::ch2_ctrl::EDSELR [−][src]
pub enum EDSELR { OFF, POSEDGE, NEGEDGE, BOTHEDGES, }
Possible values of the field EDSEL
Variants
OFF
Signal is left as it is
POSEDGE
A one HFPERCLK cycle pulse is generated for every positive edge of the incoming signal
NEGEDGE
A one HFPERCLK clock cycle pulse is generated for every negative edge of the incoming signal
BOTHEDGES
A one HFPERCLK clock cycle pulse is generated for every edge of the incoming signal
Methods
impl EDSELR
[src]
impl EDSELR
pub fn bits(&self) -> u8
[src]
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_off(&self) -> bool
[src]
pub fn is_off(&self) -> bool
Checks if the value of the field is OFF
pub fn is_posedge(&self) -> bool
[src]
pub fn is_posedge(&self) -> bool
Checks if the value of the field is POSEDGE
pub fn is_negedge(&self) -> bool
[src]
pub fn is_negedge(&self) -> bool
Checks if the value of the field is NEGEDGE
pub fn is_bothedges(&self) -> bool
[src]
pub fn is_bothedges(&self) -> bool
Checks if the value of the field is BOTHEDGES
Trait Implementations
impl Clone for EDSELR
[src]
impl Clone for EDSELR
fn clone(&self) -> EDSELR
[src]
fn clone(&self) -> EDSELR
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for EDSELR
[src]
impl Copy for EDSELR
impl Debug for EDSELR
[src]
impl Debug for EDSELR
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for EDSELR
[src]
impl PartialEq for EDSELR