esp32h2/otp_debug/
blk4_w10.rs

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