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
Trait Implementations§
impl Copy for CCUSR
impl StructuralPartialEq for CCUSR
Auto Trait Implementations§
impl Freeze for CCUSR
impl RefUnwindSafe for CCUSR
impl Send for CCUSR
impl Sync for CCUSR
impl Unpin for CCUSR
impl UnwindSafe for CCUSR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more