Enum efr32x12p::lesense::ch15_interact::SETIFR
[−]
[src]
pub enum SETIFR { NONE, LEVEL, POSEDGE, NEGEDGE, BOTHEDGES, _Reserved(u8), }
Possible values of the field SETIF
Variants
NONE
No interrupt is generated
LEVEL
Set interrupt flag if the sensor triggers.
POSEDGE
Set interrupt flag on positive edge of the sensor state
NEGEDGE
Set interrupt flag on negative edge of the sensor state
BOTHEDGES
Set interrupt flag on both edges of the sensor state
_Reserved(u8)
Reserved
Methods
impl SETIFR
[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_level(&self) -> bool
[src]
Checks if the value of the field is LEVEL
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 SETIFR
[src]
fn clone(&self) -> SETIFR
[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