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