[−][src]Enum lpc81x_pac::pmu::pcon::PMR
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]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self