pub type CFG3_W<'a, const O: u8> = FieldWriterSafe<'a, u32, PMCFG_SPEC, u8, CFG3_A, 3, O>;
Expand description
Field CFG3
writer - Specifies the match contribution condition for bit slice 3.
Implementations§
source§impl<'a, const O: u8> CFG3_W<'a, O>
impl<'a, const O: u8> CFG3_W<'a, O>
sourcepub fn constant_high(self) -> &'a mut W
pub fn constant_high(self) -> &'a mut W
Constant HIGH. This bit slice always contributes to a product term match.
sourcepub fn sticky_rising_edge(self) -> &'a mut W
pub fn sticky_rising_edge(self) -> &'a mut W
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.
sourcepub fn sticky_falling_edge(self) -> &'a mut W
pub fn sticky_falling_edge(self) -> &'a mut W
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.
sourcepub fn sticky_rising_falling_edge(self) -> &'a mut W
pub fn sticky_rising_falling_edge(self) -> &'a mut W
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.
sourcepub fn high_level(self) -> &'a mut W
pub fn high_level(self) -> &'a mut W
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.
sourcepub fn low_level(self) -> &'a mut W
pub fn low_level(self) -> &'a mut W
Low level. Match occurs when there is a low level on the specified input.
sourcepub fn constant_zero(self) -> &'a mut W
pub fn constant_zero(self) -> &'a mut W
Constant 0. This bit slice never contributes to a match (should be used to disable any unused bit slices).