esp32c3/rtc_cntl/
store6.rs

1#[doc = "Register `STORE6` reader"]
2pub type R = crate::R<STORE6_SPEC>;
3#[doc = "Register `STORE6` writer"]
4pub type W = crate::W<STORE6_SPEC>;
5#[doc = "Field `SCRATCH6` reader - reserved register"]
6pub type SCRATCH6_R = crate::FieldReader<u32>;
7#[doc = "Field `SCRATCH6` writer - reserved register"]
8pub type SCRATCH6_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
9impl R {
10    #[doc = "Bits 0:31 - reserved register"]
11    #[inline(always)]
12    pub fn scratch6(&self) -> SCRATCH6_R {
13        SCRATCH6_R::new(self.bits)
14    }
15}
16#[cfg(feature = "impl-register-debug")]
17impl core::fmt::Debug for R {
18    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
19        f.debug_struct("STORE6")
20            .field("scratch6", &self.scratch6())
21            .finish()
22    }
23}
24impl W {
25    #[doc = "Bits 0:31 - reserved register"]
26    #[inline(always)]
27    pub fn scratch6(&mut self) -> SCRATCH6_W<STORE6_SPEC> {
28        SCRATCH6_W::new(self, 0)
29    }
30}
31#[doc = "rtc configure register\n\nYou can [`read`](crate::Reg::read) this register and get [`store6::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store6::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
32pub struct STORE6_SPEC;
33impl crate::RegisterSpec for STORE6_SPEC {
34    type Ux = u32;
35}
36#[doc = "`read()` method returns [`store6::R`](R) reader structure"]
37impl crate::Readable for STORE6_SPEC {}
38#[doc = "`write(|w| ..)` method takes [`store6::W`](W) writer structure"]
39impl crate::Writable for STORE6_SPEC {
40    type Safety = crate::Unsafe;
41}
42#[doc = "`reset()` method sets STORE6 to value 0"]
43impl crate::Resettable for STORE6_SPEC {}