#[repr(transparent)]pub struct Resetctrl(pub u32);Expand description
Reset Control [Reset by: PoR, Pin Reset, Brown Out Detectors Reset, Deep Power Down Reset, Software Reset]
Tuple Fields§
§0: u32Implementations§
Source§impl Resetctrl
impl Resetctrl
Sourcepub const fn dpdwakeupresetenable(&self) -> bool
pub const fn dpdwakeupresetenable(&self) -> bool
Wake-up from DEEP POWER DOWN reset event (either from wake up I/O or RTC or OS Event Timer).
Sourcepub const fn set_dpdwakeupresetenable(&mut self, val: bool)
pub const fn set_dpdwakeupresetenable(&mut self, val: bool)
Wake-up from DEEP POWER DOWN reset event (either from wake up I/O or RTC or OS Event Timer).
Sourcepub const fn bodvbatresetenable(&self) -> bool
pub const fn bodvbatresetenable(&self) -> bool
BOD VBAT reset enable.
Sourcepub const fn set_bodvbatresetenable(&mut self, val: bool)
pub const fn set_bodvbatresetenable(&mut self, val: bool)
BOD VBAT reset enable.
Sourcepub const fn bodcoreresetenable(&self) -> bool
pub const fn bodcoreresetenable(&self) -> bool
BOD CORE reset enable.
Sourcepub const fn set_bodcoreresetenable(&mut self, val: bool)
pub const fn set_bodcoreresetenable(&mut self, val: bool)
BOD CORE reset enable.
Sourcepub const fn swrresetenable(&self) -> bool
pub const fn swrresetenable(&self) -> bool
Software reset enable.
Sourcepub const fn set_swrresetenable(&mut self, val: bool)
pub const fn set_swrresetenable(&mut self, val: bool)
Software reset enable.
Trait Implementations§
impl Copy for Resetctrl
impl Eq for Resetctrl
impl StructuralPartialEq for Resetctrl
Auto Trait Implementations§
impl Freeze for Resetctrl
impl RefUnwindSafe for Resetctrl
impl Send for Resetctrl
impl Sync for Resetctrl
impl Unpin for Resetctrl
impl UnwindSafe for Resetctrl
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