Enum efr32xg12p::rtcc::cc0_ctrl::MODER
[−]
[src]
pub enum MODER { OFF, INPUTCAPTURE, OUTPUTCOMPARE, _Reserved(u8), }
Possible values of the field MODE
Variants
OFF
Compare/Capture channel turned off
INPUTCAPTURE
Input capture
OUTPUTCOMPARE
Output compare
_Reserved(u8)
Reserved
Methods
impl MODER
[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_inputcapture(&self) -> bool
[src]
Checks if the value of the field is INPUTCAPTURE
fn is_outputcompare(&self) -> bool
[src]
Checks if the value of the field is OUTPUTCOMPARE
Trait Implementations
impl Clone for MODER
[src]
fn clone(&self) -> MODER
[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