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