Struct Csr1
#[repr(transparent)]pub struct Csr1(pub u32);Expand description
PWR control status register 1.
Tuple Fields§
§0: u32Implementations§
§impl Csr1
impl Csr1
pub const fn set_monen(&mut self, val: bool)
pub const fn set_monen(&mut self, val: bool)
Vless thansub>BATless than/sub> and temperature monitoring enable.
pub const fn vbatl(&self) -> bool
pub const fn vbatl(&self) -> bool
Vless thansub>BATless than/sub> level monitoring versus low threshold.
pub const fn set_vbatl(&mut self, val: bool)
pub const fn set_vbatl(&mut self, val: bool)
Vless thansub>BATless than/sub> level monitoring versus low threshold.
pub const fn vbath(&self) -> bool
pub const fn vbath(&self) -> bool
Vless thansub>BATless than/sub> level monitoring versus high threshold.
Trait Implementations§
impl Copy for Csr1
impl Eq for Csr1
impl StructuralPartialEq for Csr1
Auto Trait Implementations§
impl Freeze for Csr1
impl RefUnwindSafe for Csr1
impl Send for Csr1
impl Sync for Csr1
impl Unpin for Csr1
impl UnsafeUnpin for Csr1
impl UnwindSafe for Csr1
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