WakeUpInterrupt

Trait WakeUpInterrupt 

Source
pub trait WakeUpInterrupt {
    // Required methods
    fn enable(w: &mut W) -> &mut W;
    fn disable(w: &mut W) -> &mut W;
}
Expand description

Internal trait used to configure interrupt wake-up

This trait is an internal implementation detail and should neither be implemented nor used outside of LPC8xx HAL. Any changes to this trait won’t be considered breaking changes.

Please refer to syscon::Handle::enable_interrupt_wakeup and syscon::Handle::disable_interrupt_wakeup for the public API that uses this trait.

Required Methods§

Source

fn enable(w: &mut W) -> &mut W

Internal method to configure interrupt wakeup behavior

Source

fn disable(w: &mut W) -> &mut W

Internal method to configure interrupt wakeup behavior

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§