[][src]Enum lpc81x_pac::pmu::pcon::PMR

pub enum PMR {
    DEFAULT_THE_PART_IS,
    ARM_WFI_WILL_ENTER_DEEP_SLEEP,
    ARM_WFI_WILL_ENTER_P,
    ARM_WFI_WILL_ENTER_DEEP_POWER_DOWN,
    _Reserved(u8),
}

Possible values of the field PM

Variants

DEFAULT_THE_PART_IS

Default. The part is in active or sleep mode.

ARM_WFI_WILL_ENTER_DEEP_SLEEP

ARM WFI will enter Deep-sleep mode.

ARM_WFI_WILL_ENTER_P

ARM WFI will enter Power-down mode.

ARM_WFI_WILL_ENTER_DEEP_POWER_DOWN

ARM WFI will enter Deep-power down mode (ARM Cortex-M0 core powered-down).

_Reserved(u8)

Reserved

Methods

impl PMR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_default_the_part_is(&self) -> bool[src]

Checks if the value of the field is DEFAULT_THE_PART_IS

pub fn is_arm_wfi_will_enter_deep_sleep(&self) -> bool[src]

Checks if the value of the field is ARM_WFI_WILL_ENTER_DEEP_SLEEP

pub fn is_arm_wfi_will_enter_p(&self) -> bool[src]

Checks if the value of the field is ARM_WFI_WILL_ENTER_P

pub fn is_arm_wfi_will_enter_deep_power_down(&self) -> bool[src]

Checks if the value of the field is ARM_WFI_WILL_ENTER_DEEP_POWER_DOWN

Trait Implementations

impl PartialEq<PMR> for PMR[src]

impl Debug for PMR[src]

impl Copy for PMR[src]

impl Clone for PMR[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PMR

impl Sync for PMR

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self