esp32/uhci0/
dma_in_dscr.rs

1#[doc = "Register `DMA_IN_DSCR` reader"]
2pub type R = crate::R<DMA_IN_DSCR_SPEC>;
3#[doc = "Field `INLINK_DSCR` reader - The content of current in link descriptor's third dword"]
4pub type INLINK_DSCR_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - The content of current in link descriptor's third dword"]
7    #[inline(always)]
8    pub fn inlink_dscr(&self) -> INLINK_DSCR_R {
9        INLINK_DSCR_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("DMA_IN_DSCR")
16            .field("inlink_dscr", &self.inlink_dscr())
17            .finish()
18    }
19}
20#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`dma_in_dscr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct DMA_IN_DSCR_SPEC;
22impl crate::RegisterSpec for DMA_IN_DSCR_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`dma_in_dscr::R`](R) reader structure"]
26impl crate::Readable for DMA_IN_DSCR_SPEC {}
27#[doc = "`reset()` method sets DMA_IN_DSCR to value 0"]
28impl crate::Resettable for DMA_IN_DSCR_SPEC {
29    const RESET_VALUE: u32 = 0;
30}