#[repr(transparent)]pub struct Count(pub u32);Expand description
SCT counter register
Tuple Fields§
§0: u32Implementations§
Source§impl Count
impl Count
Sourcepub const fn ctr_l(&self) -> u16
pub const fn ctr_l(&self) -> u16
When UNIFY = 0, read or write the 16-bit L counter value. When UNIFY = 1, read or write the lower 16 bits of the 32-bit unified counter.
Sourcepub const fn set_ctr_l(&mut self, val: u16)
pub const fn set_ctr_l(&mut self, val: u16)
When UNIFY = 0, read or write the 16-bit L counter value. When UNIFY = 1, read or write the lower 16 bits of the 32-bit unified counter.
Trait Implementations§
impl Copy for Count
impl Eq for Count
impl StructuralPartialEq for Count
Auto Trait Implementations§
impl Freeze for Count
impl RefUnwindSafe for Count
impl Send for Count
impl Sync for Count
impl Unpin for Count
impl UnwindSafe for Count
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