#[non_exhaustive]pub struct WakeupConfig { /* private fields */ }Expand description
Selects the events of the ULP core that wake the chip.
Implementations§
Source§impl WakeupConfig
impl WakeupConfig
Sourcepub fn with_software_interrupt(self, software_interrupt: bool) -> Self
pub fn with_software_interrupt(self, software_interrupt: bool) -> Self
Assign the given value to the software_interrupt field.
Sourcepub fn software_interrupt(&self) -> bool
pub fn software_interrupt(&self) -> bool
Wakes the chip when the ULP core raises a software interrupt.
Trait Implementations§
Source§impl Clone for WakeupConfig
Available on crate feature unstable only.
impl Clone for WakeupConfig
Available on crate feature
unstable only.Source§fn clone(&self) -> WakeupConfig
fn clone(&self) -> WakeupConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WakeupConfig
Available on crate feature unstable only.
impl Debug for WakeupConfig
Available on crate feature
unstable only.Source§impl Default for WakeupConfig
Available on crate feature unstable only.
impl Default for WakeupConfig
Available on crate feature
unstable only.Source§impl Hash for WakeupConfig
Available on crate feature unstable only.
impl Hash for WakeupConfig
Available on crate feature
unstable only.Source§impl PartialEq for WakeupConfig
Available on crate feature unstable only.
impl PartialEq for WakeupConfig
Available on crate feature
unstable only.impl Copy for WakeupConfig
Available on crate feature
unstable only.impl Eq for WakeupConfig
Available on crate feature
unstable only.impl StructuralPartialEq for WakeupConfig
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for WakeupConfig
impl RefUnwindSafe for WakeupConfig
impl Send for WakeupConfig
impl Sync for WakeupConfig
impl Unpin for WakeupConfig
impl UnsafeUnpin for WakeupConfig
impl UnwindSafe for WakeupConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)