#[repr(transparent)]pub struct Bodvbat(pub u32);Expand description
VBAT Brown Out Dectector (BoD) control register [Reset by: PoR, Pin Reset, Software Reset]
Tuple Fields§
§0: u32Implementations§
Source§impl Bodvbat
impl Bodvbat
Sourcepub const fn set_triglvl(&mut self, val: Triglvl)
pub const fn set_triglvl(&mut self, val: Triglvl)
BoD trigger level.
Sourcepub const fn hyst(&self) -> BodvbatHyst
pub const fn hyst(&self) -> BodvbatHyst
BoD Hysteresis control.
Sourcepub const fn set_hyst(&mut self, val: BodvbatHyst)
pub const fn set_hyst(&mut self, val: BodvbatHyst)
BoD Hysteresis control.
Trait Implementations§
impl Copy for Bodvbat
impl Eq for Bodvbat
impl StructuralPartialEq for Bodvbat
Auto Trait Implementations§
impl Freeze for Bodvbat
impl RefUnwindSafe for Bodvbat
impl Send for Bodvbat
impl Sync for Bodvbat
impl Unpin for Bodvbat
impl UnwindSafe for Bodvbat
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