#[repr(transparent)]pub struct Tcsr1(pub u32);Expand description
Timer Control Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Tcsr1
impl Tcsr1
Sourcepub const fn tmode(&self) -> Tcsr1Tmode
pub const fn tmode(&self) -> Tcsr1Tmode
Timer Mode
Sourcepub const fn set_tmode(&mut self, val: Tcsr1Tmode)
pub const fn set_tmode(&mut self, val: Tcsr1Tmode)
Timer Mode
Trait Implementations§
impl Copy for Tcsr1
impl Eq for Tcsr1
impl StructuralPartialEq for Tcsr1
Auto Trait Implementations§
impl Freeze for Tcsr1
impl RefUnwindSafe for Tcsr1
impl Send for Tcsr1
impl Sync for Tcsr1
impl Unpin for Tcsr1
impl UnwindSafe for Tcsr1
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