#[repr(transparent)]pub struct SystCvr(pub u32);Expand description
SysTick Current Value Register
Tuple Fields§
§0: u32Implementations§
Source§impl SystCvr
impl SystCvr
Sourcepub const fn current(&self) -> u32
pub const fn current(&self) -> u32
Reads current counter value at the time the register is accessed. Any write to the register clears the register to 0.
Sourcepub const fn set_current(&mut self, val: u32)
pub const fn set_current(&mut self, val: u32)
Reads current counter value at the time the register is accessed. Any write to the register clears the register to 0.
Trait Implementations§
impl Copy for SystCvr
impl Eq for SystCvr
impl StructuralPartialEq for SystCvr
Auto Trait Implementations§
impl Freeze for SystCvr
impl RefUnwindSafe for SystCvr
impl Send for SystCvr
impl Sync for SystCvr
impl Unpin for SystCvr
impl UnwindSafe for SystCvr
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