esp32/slc/
_0_state1.rs

1#[doc = "Register `_0_STATE1` reader"]
2pub type R = crate::R<_0_STATE1_SPEC>;
3#[doc = "Field `SLC0_STATE1` reader - "]
4pub type SLC0_STATE1_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31"]
7    #[inline(always)]
8    pub fn slc0_state1(&self) -> SLC0_STATE1_R {
9        SLC0_STATE1_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("_0_STATE1")
16            .field("slc0_state1", &self.slc0_state1())
17            .finish()
18    }
19}
20#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`_0_state1::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct _0_STATE1_SPEC;
22impl crate::RegisterSpec for _0_STATE1_SPEC {
23    type Ux = u32;
24}
25#[doc = "`read()` method returns [`_0_state1::R`](R) reader structure"]
26impl crate::Readable for _0_STATE1_SPEC {}
27#[doc = "`reset()` method sets _0_STATE1 to value 0"]
28impl crate::Resettable for _0_STATE1_SPEC {
29    const RESET_VALUE: u32 = 0;
30}