#[repr(transparent)]pub struct Wakeiocause(pub u32);Expand description
Allows to identify the Wake-up I/O source from Deep Power Down mode
Tuple Fields§
§0: u32Implementations§
Source§impl Wakeiocause
impl Wakeiocause
Sourcepub const fn wakeup0(&self) -> bool
pub const fn wakeup0(&self) -> bool
Allows to identify Wake up I/O 0 as the wake-up source from Deep Power Down mode.
Sourcepub const fn set_wakeup0(&mut self, val: bool)
pub const fn set_wakeup0(&mut self, val: bool)
Allows to identify Wake up I/O 0 as the wake-up source from Deep Power Down mode.
Sourcepub const fn wakeup1(&self) -> bool
pub const fn wakeup1(&self) -> bool
Allows to identify Wake up I/O 1 as the wake-up source from Deep Power Down mode.
Sourcepub const fn set_wakeup1(&mut self, val: bool)
pub const fn set_wakeup1(&mut self, val: bool)
Allows to identify Wake up I/O 1 as the wake-up source from Deep Power Down mode.
Sourcepub const fn wakeup2(&self) -> bool
pub const fn wakeup2(&self) -> bool
Allows to identify Wake up I/O 2 as the wake-up source from Deep Power Down mode.
Sourcepub const fn set_wakeup2(&mut self, val: bool)
pub const fn set_wakeup2(&mut self, val: bool)
Allows to identify Wake up I/O 2 as the wake-up source from Deep Power Down mode.
Sourcepub const fn wakeup3(&self) -> bool
pub const fn wakeup3(&self) -> bool
Allows to identify Wake up I/O 3 as the wake-up source from Deep Power Down mode.
Sourcepub const fn set_wakeup3(&mut self, val: bool)
pub const fn set_wakeup3(&mut self, val: bool)
Allows to identify Wake up I/O 3 as the wake-up source from Deep Power Down mode.
Trait Implementations§
Source§impl Clone for Wakeiocause
impl Clone for Wakeiocause
Source§fn clone(&self) -> Wakeiocause
fn clone(&self) -> Wakeiocause
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Wakeiocause
impl Debug for Wakeiocause
Source§impl Default for Wakeiocause
impl Default for Wakeiocause
Source§fn default() -> Wakeiocause
fn default() -> Wakeiocause
Returns the “default value” for a type. Read more
Source§impl PartialEq for Wakeiocause
impl PartialEq for Wakeiocause
impl Copy for Wakeiocause
impl Eq for Wakeiocause
impl StructuralPartialEq for Wakeiocause
Auto Trait Implementations§
impl Freeze for Wakeiocause
impl RefUnwindSafe for Wakeiocause
impl Send for Wakeiocause
impl Sync for Wakeiocause
impl Unpin for Wakeiocause
impl UnwindSafe for Wakeiocause
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