Struct Stcr
#[repr(transparent)]pub struct Stcr(pub u32);
Expand description
desc STCR.
Tuple Fields§
§0: u32
Implementations§
§impl Stcr
impl Stcr
pub fn set_sleep_en(&mut self, val: bool)
pub fn set_sleep_en(&mut self, val: bool)
desc SLEEP_EN.
pub const fn sleep_time(&self) -> u8
pub const fn sleep_time(&self) -> u8
desc SLEEP_TIME.
pub fn set_sleep_time(&mut self, val: u8)
pub fn set_sleep_time(&mut self, val: u8)
desc SLEEP_TIME.
Trait Implementations§
impl Copy for Stcr
impl Eq for Stcr
impl StructuralPartialEq for Stcr
Auto Trait Implementations§
impl Freeze for Stcr
impl RefUnwindSafe for Stcr
impl Send for Stcr
impl Sync for Stcr
impl Unpin for Stcr
impl UnwindSafe for Stcr
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