esp32c6/otp_debug/
blk3_w1.rs

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