#[repr(u8)]pub enum CtrlMode {
Keep = 0,
Reverse = 1,
Disable = 2,
}
Available on crate feature
unstable
only.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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)