pub struct Pint { /* private fields */ }Expand description
Pin interrupts and pattern match for eight inputs selected through INPUTMUX. Reserved fields are omitted; write reserved bits as zero. Status and alias registers require explicit writes rather than blind read-modify-write. Construction defaults do not establish hardware reset values for reserved bits or write aliases whose reset diagrams contain unknown bits.
Implementations§
Source§impl Pint
impl Pint
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn isel(self) -> Reg<Isel, RW>
pub const fn isel(self) -> Reg<Isel, RW>
Pin interrupt mode. Bits 31:8 read undefined; write them as zero.
Sourcepub const fn ienr(self) -> Reg<Ienr, RW>
pub const fn ienr(self) -> Reg<Ienr, RW>
Rising-edge or level interrupt enable. Write bits 31:8 as zero.
Sourcepub const fn cienr(self) -> Reg<Cienr, RW>
pub const fn cienr(self) -> Reg<Cienr, RW>
IENR clear alias, retaining the manuals’ read-write summary access. Unresolved vendor conflict: both manuals’ function prose says writing zero disables interrupts, but their CENRL diagrams mark W1C and field tables say zero has no effect and one disables. Pinned SVD also specifies oneToClear. Neither write-zero nor write-one behavior is resolved here; do not infer a safe write value from Default or use read-modify-write on this register.
Sourcepub const fn sienf(self) -> Reg<Sienf, W>
pub const fn sienf(self) -> Reg<Sienf, W>
IENF set alias. Function prose and field encoding specify one sets and zero has no effect; the field-table introductory sentence instead says clear to disable. This vendor wording conflict is unresolved.
Sourcepub const fn cienf(self) -> Reg<Cienf, W>
pub const fn cienf(self) -> Reg<Cienf, W>
IENF clear alias, retaining the manuals’ write-only summary access. Field encodings specify zero has no effect and one selects LOW-active or disables falling-edge interrupts; adjacent prose also says writing zero configures IENF. This wording conflict is unresolved.
Sourcepub const fn rise(self) -> Reg<Rise, RW>
pub const fn rise(self) -> Reg<Rise, RW>
Rising-edge detection, including disabled inputs; write one to clear.
Sourcepub const fn fall(self) -> Reg<Fall, RW>
pub const fn fall(self) -> Reg<Fall, RW>
Falling-edge detection, including disabled inputs; write one to clear.
Sourcepub const fn ist(self) -> Reg<Ist, RW>
pub const fn ist(self) -> Reg<Ist, RW>
Interrupt requests. Writing one clears both edge detectors in edge mode, but toggles the IENF active level in level mode. Zero has no effect.
Sourcepub const fn pmctrl(self) -> Reg<Pmctrl, RW>
pub const fn pmctrl(self) -> Reg<Pmctrl, RW>
Pattern-match control and read-only match status. Configure PMSRC and PMCFG before enabling either control to avoid spurious interrupts. Clearing both controls erases edge history. Pattern matching requires clocks and cannot wake the chip below sleep mode. PMAT is read-only despite the register’s read-write access; the IR cannot enforce per-field access.
Sourcepub const fn pmsrc(self) -> Reg<Pmsrc, RW>
pub const fn pmsrc(self) -> Reg<Pmsrc, RW>
Sources for eight pattern slices. Any write erases all pattern edge-detect history. Bits 7:0 are reserved and read zero.
Sourcepub const fn pmcfg(self) -> Reg<Pmcfg, RW>
pub const fn pmcfg(self) -> Reg<Pmcfg, RW>
Eight slice conditions and seven programmable product endpoints. Slice 7 is always an endpoint; bit 7 is reserved. Any write erases all pattern edge-detect history. Unused slices must use constant-zero condition 6, not reset condition 0 (constant HIGH). The function prose’s instruction to clear PMCTRL controls “by writing 1” conflicts with the PMSRC note and PMCTRL control descriptions, which require zero; no special clear helper is supplied.