#[repr(transparent)]pub struct Ctrl(pub u32);Expand description
SCT Control
Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn set_down_l(&mut self, val: DownL)
pub const fn set_down_l(&mut self, val: DownL)
Down Counter Low
Sourcepub const fn set_stop_l(&mut self, val: bool)
pub const fn set_stop_l(&mut self, val: bool)
Stop Counter Low
Sourcepub const fn set_halt_l(&mut self, val: bool)
pub const fn set_halt_l(&mut self, val: bool)
Halt Counter Low
Sourcepub const fn set_clrctr_l(&mut self, val: bool)
pub const fn set_clrctr_l(&mut self, val: bool)
Clear Counter Low
Sourcepub const fn set_bidir_l(&mut self, val: BidirL)
pub const fn set_bidir_l(&mut self, val: BidirL)
Bidirectional Select Low
Sourcepub const fn set_down_h(&mut self, val: DownH)
pub const fn set_down_h(&mut self, val: DownH)
Down Counter High
Sourcepub const fn set_stop_h(&mut self, val: bool)
pub const fn set_stop_h(&mut self, val: bool)
Stop Counter High
Sourcepub const fn set_halt_h(&mut self, val: bool)
pub const fn set_halt_h(&mut self, val: bool)
Halt Counter High
Sourcepub const fn set_clrctr_h(&mut self, val: bool)
pub const fn set_clrctr_h(&mut self, val: bool)
Clear Counter High
Sourcepub const fn set_bidir_h(&mut self, val: BidirH)
pub const fn set_bidir_h(&mut self, val: BidirH)
Bidirectional Select High
Trait Implementations§
impl Copy for Ctrl
impl Eq for Ctrl
impl StructuralPartialEq for Ctrl
Auto Trait Implementations§
impl Freeze for Ctrl
impl RefUnwindSafe for Ctrl
impl Send for Ctrl
impl Sync for Ctrl
impl Unpin for Ctrl
impl UnwindSafe for Ctrl
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