Struct Bdcr
#[repr(transparent)]pub struct Bdcr(pub u32);Expand description
PWR Backup domain control register.
Tuple Fields§
§0: u32Implementations§
§impl Bdcr
impl Bdcr
pub const fn vbe(&self) -> bool
pub const fn vbe(&self) -> bool
None 0: VBAT battery charging disabled 1: VBAT battery charging enabled.
pub fn set_vbe(&mut self, val: bool)
pub fn set_vbe(&mut self, val: bool)
None 0: VBAT battery charging disabled 1: VBAT battery charging enabled.
Trait Implementations§
impl Copy for Bdcr
impl Eq for Bdcr
impl StructuralPartialEq for Bdcr
Auto Trait Implementations§
impl Freeze for Bdcr
impl RefUnwindSafe for Bdcr
impl Send for Bdcr
impl Sync for Bdcr
impl Unpin for Bdcr
impl UnwindSafe for Bdcr
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