#[repr(u8)]pub enum CtrlMode {
Keep = 0,
Reverse = 1,
Disable = 2,
}Expand description
Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high.
Value on reset: 0
Variants§
Keep = 0
0: No modification
Reverse = 1
1: Invert behavior (increase -> decrease
Disable = 2
2: Inhibit counter modification
Trait Implementations§
impl Copy for CTRL_MODE
impl Eq for CTRL_MODE
impl IsEnum for CTRL_MODE
impl StructuralPartialEq for CTRL_MODE
Auto Trait Implementations§
impl Freeze for CTRL_MODE
impl RefUnwindSafe for CTRL_MODE
impl Send for CTRL_MODE
impl Sync for CTRL_MODE
impl Unpin for CTRL_MODE
impl UnwindSafe for CTRL_MODE
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