Enum efr32xg12p::prs::ch3_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 HFCLK cycle pulse is generated for every positive edge of the incoming signal
NEGEDGE
A one HFCLK clock cycle pulse is generated for every negative edge of the incoming signal
BOTHEDGES
A one HFCLK clock cycle pulse is generated for every edge of the incoming signal
Methods
impl EDSELR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_off(&self) -> bool
[src]
Checks if the value of the field is OFF
fn is_posedge(&self) -> bool
[src]
Checks if the value of the field is POSEDGE
fn is_negedge(&self) -> bool
[src]
Checks if the value of the field is NEGEDGE
fn is_bothedges(&self) -> bool
[src]
Checks if the value of the field is BOTHEDGES
Trait Implementations
impl Clone for EDSELR
[src]
fn clone(&self) -> EDSELR
[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