#[repr(transparent)]pub struct Intval(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Intval
impl Intval
Sourcepub const fn ivalue(&self) -> u32
pub const fn ivalue(&self) -> u32
Timer interval; countdown starts at IVALUE - 1. A nonzero write while idle starts the timer immediately. Writing zero while running stops immediately with LOAD = 1, or at the end of the interval with LOAD = 0.
Sourcepub const fn set_ivalue(&mut self, val: u32)
pub const fn set_ivalue(&mut self, val: u32)
Timer interval; countdown starts at IVALUE - 1. A nonzero write while idle starts the timer immediately. Writing zero while running stops immediately with LOAD = 1, or at the end of the interval with LOAD = 0.
Trait Implementations§
impl Copy for Intval
impl Eq for Intval
impl StructuralPartialEq for Intval
Auto Trait Implementations§
impl Freeze for Intval
impl RefUnwindSafe for Intval
impl Send for Intval
impl Sync for Intval
impl Unpin for Intval
impl UnwindSafe for Intval
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