esp32s3/usb0/hc/
dmab.rs

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