#[repr(u8)]pub enum Ctrl2Once {
REPEAT = 0,
UNTIL_COMPARE = 1,
}Variants§
REPEAT = 0
Count repeatedly.
UNTIL_COMPARE = 1
Count until compare and then stop. If counting up, a successful compare occurs when the counter reaches a COMP1 value. If counting down, a successful compare occurs when the counter reaches a COMP2 value. When output mode $4 is used, the counter re-initializes after reaching the COMP1 value, continues to count to the COMP2 value, and then stops.
Implementations§
Trait Implementations§
Source§impl Ord for Ctrl2Once
impl Ord for Ctrl2Once
Source§impl PartialOrd for Ctrl2Once
impl PartialOrd for Ctrl2Once
impl Copy for Ctrl2Once
impl Eq for Ctrl2Once
impl StructuralPartialEq for Ctrl2Once
Auto Trait Implementations§
impl Freeze for Ctrl2Once
impl RefUnwindSafe for Ctrl2Once
impl Send for Ctrl2Once
impl Sync for Ctrl2Once
impl Unpin for Ctrl2Once
impl UnwindSafe for Ctrl2Once
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