esp32c6/extmem/
l1_icache3_prelock_sct0_addr.rs1#[doc = "Register `L1_ICACHE3_PRELOCK_SCT0_ADDR` reader"]
2pub type R = crate::R<L1_ICACHE3_PRELOCK_SCT0_ADDR_SPEC>;
3#[doc = "Field `L1_ICACHE3_PRELOCK_SCT0_ADDR` reader - Those bits are used to configure the start virtual address of the first section of prelock on L1-ICache3, which should be used together with L1_ICACHE3_PRELOCK_SCT0_SIZE_REG"]
4pub type L1_ICACHE3_PRELOCK_SCT0_ADDR_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section of prelock on L1-ICache3, which should be used together with L1_ICACHE3_PRELOCK_SCT0_SIZE_REG"]
7 #[inline(always)]
8 pub fn l1_icache3_prelock_sct0_addr(&self) -> L1_ICACHE3_PRELOCK_SCT0_ADDR_R {
9 L1_ICACHE3_PRELOCK_SCT0_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("L1_ICACHE3_PRELOCK_SCT0_ADDR")
16 .field(
17 "l1_icache3_prelock_sct0_addr",
18 &self.l1_icache3_prelock_sct0_addr(),
19 )
20 .finish()
21 }
22}
23#[doc = "L1 instruction Cache 3 prelock section0 address configure register\n\nYou can [`read`](crate::Reg::read) this register and get [`l1_icache3_prelock_sct0_addr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
24pub struct L1_ICACHE3_PRELOCK_SCT0_ADDR_SPEC;
25impl crate::RegisterSpec for L1_ICACHE3_PRELOCK_SCT0_ADDR_SPEC {
26 type Ux = u32;
27}
28#[doc = "`read()` method returns [`l1_icache3_prelock_sct0_addr::R`](R) reader structure"]
29impl crate::Readable for L1_ICACHE3_PRELOCK_SCT0_ADDR_SPEC {}
30#[doc = "`reset()` method sets L1_ICACHE3_PRELOCK_SCT0_ADDR to value 0"]
31impl crate::Resettable for L1_ICACHE3_PRELOCK_SCT0_ADDR_SPEC {
32 const RESET_VALUE: u32 = 0;
33}