pub enum CCUSR {
DEFAULT,
WITHRISINGEDGE,
}Expand description
Possible values of the field CCUS
Variants§
DEFAULT
Capture/compare are updated only by setting the COMG bit
WITHRISINGEDGE
Capture/compare are updated by setting the COMG bit or when an rising edge occurs on TRGI
Implementations§
source§impl CCUSR
impl CCUSR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Checks if the value of the field is DEFAULT
sourcepub fn is_with_rising_edge(&self) -> bool
pub fn is_with_rising_edge(&self) -> bool
Checks if the value of the field is WITHRISINGEDGE