esp32/i2s0/
inlink_dscr.rs

1#[doc = "Register `INLINK_DSCR` reader"]
2pub type R = crate::R<INLINK_DSCR_SPEC>;
3#[doc = "Field `INLINK_DSCR` reader - "]
4pub type INLINK_DSCR_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31"]
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("INLINK_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 [`inlink_dscr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct INLINK_DSCR_SPEC;
22impl crate::RegisterSpec for INLINK_DSCR_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`inlink_dscr::R`](R) reader structure"]
26impl crate::Readable for INLINK_DSCR_SPEC {}
27#[doc = "`reset()` method sets INLINK_DSCR to value 0"]
28impl crate::Resettable for INLINK_DSCR_SPEC {}