esp32/dport/
pro_cpu_record_pdebugpc.rs

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