esp32c6/extmem/
l2_cache_vaddr.rs1#[doc = "Register `L2_CACHE_VADDR` reader"]
2pub type R = crate::R<L2_CACHE_VADDR_SPEC>;
3#[doc = "Field `L2_CACHE_VADDR` reader - Those bits stores the virtual address which will decide where inside the specified tag memory object will be accessed."]
4pub type L2_CACHE_VADDR_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Those bits stores the virtual address which will decide where inside the specified tag memory object will be accessed."]
7 #[inline(always)]
8 pub fn l2_cache_vaddr(&self) -> L2_CACHE_VADDR_R {
9 L2_CACHE_VADDR_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("L2_CACHE_VADDR")
16 .field("l2_cache_vaddr", &self.l2_cache_vaddr())
17 .finish()
18 }
19}
20#[doc = "Cache Vaddr register\n\nYou can [`read`](crate::Reg::read) this register and get [`l2_cache_vaddr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct L2_CACHE_VADDR_SPEC;
22impl crate::RegisterSpec for L2_CACHE_VADDR_SPEC {
23 type Ux = u32;
24}
25#[doc = "`read()` method returns [`l2_cache_vaddr::R`](R) reader structure"]
26impl crate::Readable for L2_CACHE_VADDR_SPEC {}
27#[doc = "`reset()` method sets L2_CACHE_VADDR to value 0x4000_0000"]
28impl crate::Resettable for L2_CACHE_VADDR_SPEC {
29 const RESET_VALUE: u32 = 0x4000_0000;
30}