#[repr(transparent)]pub struct Event(pub u32);Expand description
event register
Tuple Fields§
§0: u32Implementations§
Source§impl Event
impl Event
Sourcepub const fn set_rst(&mut self, val: bool)
pub const fn set_rst(&mut self, val: bool)
When bit is set, the controller and flash are reset.
Sourcepub const fn wakeup(&self) -> bool
pub const fn wakeup(&self) -> bool
When bit is set, the controller wakes up from whatever low power or powerdown mode was active.
Sourcepub const fn set_wakeup(&mut self, val: bool)
pub const fn set_wakeup(&mut self, val: bool)
When bit is set, the controller wakes up from whatever low power or powerdown mode was active.
Trait Implementations§
impl Copy for Event
impl Eq for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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