#[repr(transparent)]pub struct Sm3sts(pub u16);Expand description
Status Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Sm3sts
impl Sm3sts
Sourcepub const fn rf(&self) -> bool
pub const fn rf(&self) -> bool
Reload Flag. Raw bit values: false (0) = NoFlag: No new reload cycle since last STS[RF] clearing.; true (1) = Flag: New reload cycle since last STS[RF] clearing.
Sourcepub const fn set_rf(&mut self, val: bool)
pub const fn set_rf(&mut self, val: bool)
Reload Flag. Raw bit values: false (0) = NoFlag: No new reload cycle since last STS[RF] clearing.; true (1) = Flag: New reload cycle since last STS[RF] clearing.
Sourcepub const fn ref_(&self) -> bool
pub const fn ref_(&self) -> bool
Reload Error Flag. Raw bit values: false (0) = NoFlag: No reload error occurred.; true (1) = Flag: Reload signal occurred with non-coherent data and MCTRL[LDOK] = 0.
Sourcepub const fn set_ref_(&mut self, val: bool)
pub const fn set_ref_(&mut self, val: bool)
Reload Error Flag. Raw bit values: false (0) = NoFlag: No reload error occurred.; true (1) = Flag: Reload signal occurred with non-coherent data and MCTRL[LDOK] = 0.
Trait Implementations§
impl Copy for Sm3sts
impl Eq for Sm3sts
impl StructuralPartialEq for Sm3sts
Auto Trait Implementations§
impl Freeze for Sm3sts
impl RefUnwindSafe for Sm3sts
impl Send for Sm3sts
impl Sync for Sm3sts
impl Unpin for Sm3sts
impl UnwindSafe for Sm3sts
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