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

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

Field CFG4 writer - Specifies the match contribution condition for bit slice 4.

Implementations

Writes variant to the field

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

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.

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.

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.

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.

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

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

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.

Writes raw bits to the field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.