#[repr(transparent)]pub struct Sosccsr(pub u32);Expand description
SOSC Control Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Sosccsr
impl Sosccsr
Sourcepub const fn set_soscen(&mut self, val: bool)
pub const fn set_soscen(&mut self, val: bool)
SOSC Enable
Sourcepub const fn set_soscsten(&mut self, val: bool)
pub const fn set_soscsten(&mut self, val: bool)
SOSC Stop Enable
Sourcepub const fn set_sosccm(&mut self, val: bool)
pub const fn set_sosccm(&mut self, val: bool)
SOSC Clock Monitor Enable
Sourcepub const fn set_sosccmre(&mut self, val: Sosccmre)
pub const fn set_sosccmre(&mut self, val: Sosccmre)
SOSC Clock Monitor Reset Enable
Sourcepub const fn set_soscvld(&mut self, val: bool)
pub const fn set_soscvld(&mut self, val: bool)
SOSC Valid
Sourcepub const fn set_soscsel(&mut self, val: bool)
pub const fn set_soscsel(&mut self, val: bool)
SOSC Selected
Sourcepub const fn set_soscerr(&mut self, val: Soscerr)
pub const fn set_soscerr(&mut self, val: Soscerr)
SOSC Clock Error
Sourcepub const fn soscvld_ie(&self) -> bool
pub const fn soscvld_ie(&self) -> bool
SOSC Valid Interrupt Enable
Sourcepub const fn set_soscvld_ie(&mut self, val: bool)
pub const fn set_soscvld_ie(&mut self, val: bool)
SOSC Valid Interrupt Enable
Trait Implementations§
impl Copy for Sosccsr
impl Eq for Sosccsr
impl StructuralPartialEq for Sosccsr
Auto Trait Implementations§
impl Freeze for Sosccsr
impl RefUnwindSafe for Sosccsr
impl Send for Sosccsr
impl Sync for Sosccsr
impl Unpin for Sosccsr
impl UnwindSafe for Sosccsr
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