#[repr(transparent)]pub struct Stat(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Stat
impl Stat
Sourcepub const fn set_intflag(&mut self, val: bool)
pub const fn set_intflag(&mut self, val: bool)
Interrupt pending. Write one to clear the request.
Sourcepub const fn run(&self) -> bool
pub const fn run(&self) -> bool
Timer is running when set, idle when clear. Read-only. Raw bit values: false (0) = IdleState: Idle state.; true (1) = Running: Running.
Sourcepub const fn set_run(&mut self, val: bool)
pub const fn set_run(&mut self, val: bool)
Timer is running when set, idle when clear. Read-only. Raw bit values: false (0) = IdleState: Idle state.; true (1) = Running: Running.
Trait Implementations§
impl Copy for Stat
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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