#[repr(transparent)]pub struct Pmctrl(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Pmctrl
impl Pmctrl
Sourcepub const fn sel_pmatch(&self) -> bool
pub const fn sel_pmatch(&self) -> bool
Select pin interrupts (zero) or pattern-match interrupts (one). Raw bit values: false (0) = PIN_INTERRUPT: Standard pin interrupt function.; true (1) = PATTERN_MATCH: Pattern-match function.
Sourcepub const fn set_sel_pmatch(&mut self, val: bool)
pub const fn set_sel_pmatch(&mut self, val: bool)
Select pin interrupts (zero) or pattern-match interrupts (one). Raw bit values: false (0) = PIN_INTERRUPT: Standard pin interrupt function.; true (1) = PATTERN_MATCH: Pattern-match function.
Sourcepub const fn set_ena_rxev(&mut self, val: bool)
pub const fn set_ena_rxev(&mut self, val: bool)
Enable RXEV output for a true pattern Boolean expression.
Trait Implementations§
impl Copy for Pmctrl
impl Eq for Pmctrl
impl StructuralPartialEq for Pmctrl
Auto Trait Implementations§
impl Freeze for Pmctrl
impl RefUnwindSafe for Pmctrl
impl Send for Pmctrl
impl Sync for Pmctrl
impl Unpin for Pmctrl
impl UnwindSafe for Pmctrl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more