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