esp32s2/gpio/
pcpu_nmi_int1.rs

1#[doc = "Register `PCPU_NMI_INT1` reader"]
2pub type R = crate::R<PCPU_NMI_INT1_SPEC>;
3#[doc = "Field `PROCPU_NMI1_INT` reader - GPIO32 ~ 53 PRO_CPU non-maskable interrupt status. This interrupt status is corresponding to bit in GPIO_STATUS1_REG when assert (high) enable signal (bit 14 of GPIO_PINn_REG)."]
4pub type PROCPU_NMI1_INT_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:21 - GPIO32 ~ 53 PRO_CPU non-maskable interrupt status. This interrupt status is corresponding to bit in GPIO_STATUS1_REG when assert (high) enable signal (bit 14 of GPIO_PINn_REG)."]
7    #[inline(always)]
8    pub fn procpu_nmi1_int(&self) -> PROCPU_NMI1_INT_R {
9        PROCPU_NMI1_INT_R::new(self.bits & 0x003f_ffff)
10    }
11}
12#[cfg(feature = "impl-register-debug")]
13impl core::fmt::Debug for R {
14    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
15        f.debug_struct("PCPU_NMI_INT1")
16            .field("procpu_nmi1_int", &self.procpu_nmi1_int())
17            .finish()
18    }
19}
20#[doc = "GPIO32 ~ 53 PRO_CPU non-maskable interrupt status register\n\nYou can [`read`](crate::Reg::read) this register and get [`pcpu_nmi_int1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct PCPU_NMI_INT1_SPEC;
22impl crate::RegisterSpec for PCPU_NMI_INT1_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`pcpu_nmi_int1::R`](R) reader structure"]
26impl crate::Readable for PCPU_NMI_INT1_SPEC {}
27#[doc = "`reset()` method sets PCPU_NMI_INT1 to value 0"]
28impl crate::Resettable for PCPU_NMI_INT1_SPEC {}