Struct msp432p401r::pcm::pcmctl1::FORCE_LPM_ENTRY_W[][src]

pub struct FORCE_LPM_ENTRY_W<'a> { /* fields omitted */ }

Field FORCE_LPM_ENTRY writer - Force LPM entry

Implementations

impl<'a> FORCE_LPM_ENTRY_W<'a>[src]

pub fn variant(self, variant: FORCE_LPM_ENTRY_A) -> &'a mut W[src]

Writes variant to the field

pub fn force_lpm_entry_0(self) -> &'a mut W[src]

PCM aborts LPM3/LPMx.5 transition if the active clock configuration does not meet the LPM3/LPMx.5 entry criteria. PCM generates the LPM_INVALID_CLK flag on abort to LPM3/LPMx.5 entry.

pub fn force_lpm_entry_1(self) -> &'a mut W[src]

PCM enters LPM3/LPMx.5 after shuting off the clocks forcefully. Application needs to ensure RTC and WDT are clocked using BCLK tree to keep these modules alive in LPM3/LPM3.5. In LPM4.5 all clocks are forcefully shutoff and the core voltage is turned off.

pub fn set_bit(self) -> &'a mut W[src]

Sets the field bit

pub fn clear_bit(self) -> &'a mut W[src]

Clears the field bit

pub fn bit(self, value: bool) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for FORCE_LPM_ENTRY_W<'a>

impl<'a> Sync for FORCE_LPM_ENTRY_W<'a>

impl<'a> Unpin for FORCE_LPM_ENTRY_W<'a>

Blanket Implementations

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

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

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

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

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

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> 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.