#[repr(transparent)]pub struct Ctrl(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Ctrl
impl Ctrl
Sourcepub const fn delayval(&self) -> u32
pub const fn delayval(&self) -> u32
Tick interval. The manual specifies DELAYVAL + 1 timer clocks and says zero stops the timer, but its enumeration calls zero reserved. This inconsistency is unresolved.
Sourcepub const fn set_delayval(&mut self, val: u32)
pub const fn set_delayval(&mut self, val: u32)
Tick interval. The manual specifies DELAYVAL + 1 timer clocks and says zero stops the timer, but its enumeration calls zero reserved. This inconsistency is unresolved.
Sourcepub const fn repeat(&self) -> bool
pub const fn repeat(&self) -> bool
Repeat continuously instead of performing a one-time delay. Raw bit values: false (0) = Once: One-time delay.; true (1) = Repeat: Delay repeats continuously.
Sourcepub const fn set_repeat(&mut self, val: bool)
pub const fn set_repeat(&mut self, val: bool)
Repeat continuously instead of performing a one-time delay. Raw bit values: false (0) = Once: One-time delay.; true (1) = Repeat: Delay repeats continuously.
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