esp32s2/gpio/
status_next1.rs

1#[doc = "Register `STATUS_NEXT1` reader"]
2pub type R = crate::R<STATUS_NEXT1_SPEC>;
3#[doc = "Field `STATUS1_INTERRUPT_NEXT` reader - Interrupt source signal of GPIO32 ~ 53."]
4pub type STATUS1_INTERRUPT_NEXT_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:21 - Interrupt source signal of GPIO32 ~ 53."]
7    #[inline(always)]
8    pub fn status1_interrupt_next(&self) -> STATUS1_INTERRUPT_NEXT_R {
9        STATUS1_INTERRUPT_NEXT_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("STATUS_NEXT1")
16            .field("status1_interrupt_next", &self.status1_interrupt_next())
17            .finish()
18    }
19}
20#[doc = "GPIO32 ~ 53 interrupt source register\n\nYou can [`read`](crate::Reg::read) this register and get [`status_next1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct STATUS_NEXT1_SPEC;
22impl crate::RegisterSpec for STATUS_NEXT1_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`status_next1::R`](R) reader structure"]
26impl crate::Readable for STATUS_NEXT1_SPEC {}
27#[doc = "`reset()` method sets STATUS_NEXT1 to value 0"]
28impl crate::Resettable for STATUS_NEXT1_SPEC {}