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