Struct Mac1ustcr
#[repr(transparent)]pub struct Mac1ustcr(pub u32);Expand description
One-microsecond-tick counter register.
Tuple Fields§
§0: u32Implementations§
§impl Mac1ustcr
impl Mac1ustcr
pub const fn tic_1us_cntr(&self) -> u16
pub const fn tic_1us_cntr(&self) -> u16
1us tick Counter.
pub const fn set_tic_1us_cntr(&mut self, val: u16)
pub const fn set_tic_1us_cntr(&mut self, val: u16)
1us tick Counter.
Trait Implementations§
impl Copy for Mac1ustcr
impl Eq for Mac1ustcr
impl StructuralPartialEq for Mac1ustcr
Auto Trait Implementations§
impl Freeze for Mac1ustcr
impl RefUnwindSafe for Mac1ustcr
impl Send for Mac1ustcr
impl Sync for Mac1ustcr
impl Unpin for Mac1ustcr
impl UnsafeUnpin for Mac1ustcr
impl UnwindSafe for Mac1ustcr
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