Enum lpc81x_pac::lpc811::pmu::dpdctrl::WAKEPAD_DISABLE_A
source · pub enum WAKEPAD_DISABLE_A {
ENABLED,
DISABLED,
}
Expand description
WAKEUP pin disable. Setting this bit disables the wake-up pin, so it can be used for other purposes. Remark: Never set this bit if you intend to use a pin to wake up the part from Deep power-down mode. You can only disable the wake-up pin if the self wake-up timer is enabled and configured. Remark: Setting this bit is not necessary if Deep power-down mode is not used.
Value on reset: 0
Variants§
ENABLED
0: Enabled. The wake-up function is enabled on pin PIO0_4.
DISABLED
1: Disabled. Setting this bit disables the wake-up function on pin PIO0_4.
Trait Implementations§
source§impl Clone for WAKEPAD_DISABLE_A
impl Clone for WAKEPAD_DISABLE_A
source§fn clone(&self) -> WAKEPAD_DISABLE_A
fn clone(&self) -> WAKEPAD_DISABLE_A
Returns a copy 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 WAKEPAD_DISABLE_A
impl Debug for WAKEPAD_DISABLE_A
source§impl From<WAKEPAD_DISABLE_A> for bool
impl From<WAKEPAD_DISABLE_A> for bool
source§fn from(variant: WAKEPAD_DISABLE_A) -> Self
fn from(variant: WAKEPAD_DISABLE_A) -> Self
Converts to this type from the input type.