[][src]Struct lpc54606_pac::pint::pmcfg::CFG4_W

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

Write proxy for field CFG4

Methods

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

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

Writes variant to the field

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

Constant HIGH. This bit slice always contributes to a product term match.

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

Sticky rising edge. Match occurs if a rising edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.

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

Sticky falling edge. Match occurs if a falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.

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

Sticky rising or falling edge. Match occurs if either a rising or falling edge on the specified input has occurred since the last time the edge detection for this bit slice was cleared. This bit is only cleared when the PMCFG or the PMSRC registers are written to.

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

High level. Match (for this bit slice) occurs when there is a high level on the input specified for this bit slice in the PMSRC register.

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

Low level. Match occurs when there is a low level on the specified input.

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

Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).

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

Event. Non-sticky rising or falling edge. Match occurs on an event - i.e. when either a rising or falling edge is first detected on the specified input (this is a non-sticky version of value 0x3) . This bit is cleared after one clock cycle.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CFG4_W<'a>

impl<'a> !Sync for CFG4_W<'a>

impl<'a> Unpin for CFG4_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> Same<T> for T

type Output = T

Should always be Self

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.