esp32/slchost/
host_slc_apbwin_rdata.rs

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