#[repr(u8)]pub enum Ctrl1Once {
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 Ctrl1Once
impl Ord for Ctrl1Once
Source§impl PartialOrd for Ctrl1Once
impl PartialOrd for Ctrl1Once
impl Copy for Ctrl1Once
impl Eq for Ctrl1Once
impl StructuralPartialEq for Ctrl1Once
Auto Trait Implementations§
impl Freeze for Ctrl1Once
impl RefUnwindSafe for Ctrl1Once
impl Send for Ctrl1Once
impl Sync for Ctrl1Once
impl Unpin for Ctrl1Once
impl UnwindSafe for Ctrl1Once
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