esp32/slc/
_0_rxpktu_e_dscr.rs

1#[doc = "Register `_0_RXPKTU_E_DSCR` reader"]
2pub type R = crate::R<_0_RXPKTU_E_DSCR_SPEC>;
3#[doc = "Field `SLC0_RX_PKT_END_DSCR_ADDR` reader - "]
4pub type SLC0_RX_PKT_END_DSCR_ADDR_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31"]
7    #[inline(always)]
8    pub fn slc0_rx_pkt_end_dscr_addr(&self) -> SLC0_RX_PKT_END_DSCR_ADDR_R {
9        SLC0_RX_PKT_END_DSCR_ADDR_R::new(self.bits)
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("_0_RXPKTU_E_DSCR")
16            .field(
17                "slc0_rx_pkt_end_dscr_addr",
18                &self.slc0_rx_pkt_end_dscr_addr(),
19            )
20            .finish()
21    }
22}
23#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`_0_rxpktu_e_dscr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
24pub struct _0_RXPKTU_E_DSCR_SPEC;
25impl crate::RegisterSpec for _0_RXPKTU_E_DSCR_SPEC {
26    type Ux = u32;
27}
28#[doc = "`read()` method returns [`_0_rxpktu_e_dscr::R`](R) reader structure"]
29impl crate::Readable for _0_RXPKTU_E_DSCR_SPEC {}
30#[doc = "`reset()` method sets _0_RXPKTU_E_DSCR to value 0"]
31impl crate::Resettable for _0_RXPKTU_E_DSCR_SPEC {
32    const RESET_VALUE: u32 = 0;
33}