esp32c6/extmem/
l2_cache_autoload_sct1_addr.rs

1#[doc = "Register `L2_CACHE_AUTOLOAD_SCT1_ADDR` reader"]
2pub type R = crate::R<L2_CACHE_AUTOLOAD_SCT1_ADDR_SPEC>;
3#[doc = "Field `L2_CACHE_AUTOLOAD_SCT1_ADDR` reader - Those bits are used to configure the start virtual address of the second section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT1_SIZE and L2_CACHE_AUTOLOAD_SCT1_ENA."]
4pub type L2_CACHE_AUTOLOAD_SCT1_ADDR_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT1_SIZE and L2_CACHE_AUTOLOAD_SCT1_ENA."]
7    #[inline(always)]
8    pub fn l2_cache_autoload_sct1_addr(&self) -> L2_CACHE_AUTOLOAD_SCT1_ADDR_R {
9        L2_CACHE_AUTOLOAD_SCT1_ADDR_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_AUTOLOAD_SCT1_ADDR")
16            .field(
17                "l2_cache_autoload_sct1_addr",
18                &self.l2_cache_autoload_sct1_addr(),
19            )
20            .finish()
21    }
22}
23#[doc = "L2 Cache autoload section 1 address configure register\n\nYou can [`read`](crate::Reg::read) this register and get [`l2_cache_autoload_sct1_addr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
24pub struct L2_CACHE_AUTOLOAD_SCT1_ADDR_SPEC;
25impl crate::RegisterSpec for L2_CACHE_AUTOLOAD_SCT1_ADDR_SPEC {
26    type Ux = u32;
27}
28#[doc = "`read()` method returns [`l2_cache_autoload_sct1_addr::R`](R) reader structure"]
29impl crate::Readable for L2_CACHE_AUTOLOAD_SCT1_ADDR_SPEC {}
30#[doc = "`reset()` method sets L2_CACHE_AUTOLOAD_SCT1_ADDR to value 0"]
31impl crate::Resettable for L2_CACHE_AUTOLOAD_SCT1_ADDR_SPEC {
32    const RESET_VALUE: u32 = 0;
33}