esp32c6/pmu/
por_status.rs1#[doc = "Register `POR_STATUS` reader"]
2pub type R = crate::R<POR_STATUS_SPEC>;
3#[doc = "Field `POR_DONE` reader - need_des"]
4pub type POR_DONE_R = crate::BitReader;
5impl R {
6 #[doc = "Bit 31 - need_des"]
7 #[inline(always)]
8 pub fn por_done(&self) -> POR_DONE_R {
9 POR_DONE_R::new(((self.bits >> 31) & 1) != 0)
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("POR_STATUS")
16 .field("por_done", &self.por_done())
17 .finish()
18 }
19}
20#[doc = "need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`por_status::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct POR_STATUS_SPEC;
22impl crate::RegisterSpec for POR_STATUS_SPEC {
23 type Ux = u32;
24}
25#[doc = "`read()` method returns [`por_status::R`](R) reader structure"]
26impl crate::Readable for POR_STATUS_SPEC {}
27#[doc = "`reset()` method sets POR_STATUS to value 0x8000_0000"]
28impl crate::Resettable for POR_STATUS_SPEC {
29 const RESET_VALUE: u32 = 0x8000_0000;
30}