esp32c6/otp_debug/
blk6_w2.rs

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