Enum stm32f334::hrtim_tima::timacr::DELCMP2R
[−]
[src]
pub enum DELCMP2R { ALWAYS_ACTIVE, CAPTURE_1, CAPTURE_1_OR_COMPARE_1, CAPTURE_1_OR_COMPARE_3, }
Possible values of the field DELCMP2
Variants
ALWAYS_ACTIVE
CMP4 register is always active (standard compare mode)
CAPTURE_1
CMP2 value is recomputed and is active following a capture 1 event
CAPTURE_1_OR_COMPARE_1
CMP2 value is recomputed and is active following a capture 1 event, or is recomputed and active after Compare 1 match (timeout function if capture event is missing)
CAPTURE_1_OR_COMPARE_3
CMP2 value is recomputed and is active following a capture 1 event, or is recomputed and active after Compare 3 match (timeout function if capture event is missing)
Methods
impl DELCMP2R
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_always_active(&self) -> bool
[src]
Checks if the value of the field is ALWAYS_ACTIVE
pub fn is_capture_1(&self) -> bool
[src]
Checks if the value of the field is CAPTURE_1
pub fn is_capture_1_or_compare_1(&self) -> bool
[src]
Checks if the value of the field is CAPTURE_1_OR_COMPARE_1
pub fn is_capture_1_or_compare_3(&self) -> bool
[src]
Checks if the value of the field is CAPTURE_1_OR_COMPARE_3
Trait Implementations
impl Clone for DELCMP2R
[src]
fn clone(&self) -> DELCMP2R
[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 DELCMP2R
[src]
impl Debug for DELCMP2R
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more