esp32h2/otp_debug/
blk5_w7.rs

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