1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#[doc = "Register `Core_1_World_Phase` reader"]
pub type R = crate::R<CORE_1_WORLD_PHASE_SPEC>;
#[doc = "Field `CORE_1_WORLD_PHASE` reader - This bit indicates whether is preparing to switch to WORLD1,1 means value."]
pub type CORE_1_WORLD_PHASE_R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - This bit indicates whether is preparing to switch to WORLD1,1 means value."]
    #[inline(always)]
    pub fn core_1_world_phase(&self) -> CORE_1_WORLD_PHASE_R {
        CORE_1_WORLD_PHASE_R::new((self.bits & 1) != 0)
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("Core_1_World_Phase")
            .field(
                "core_1_world_phase",
                &format_args!("{}", self.core_1_world_phase().bit()),
            )
            .finish()
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<CORE_1_WORLD_PHASE_SPEC> {
    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
        self.read().fmt(f)
    }
}
#[doc = "Core_0 world status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`core_1_world_phase::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CORE_1_WORLD_PHASE_SPEC;
impl crate::RegisterSpec for CORE_1_WORLD_PHASE_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`core_1_world_phase::R`](R) reader structure"]
impl crate::Readable for CORE_1_WORLD_PHASE_SPEC {}
#[doc = "`reset()` method sets Core_1_World_Phase to value 0"]
impl crate::Resettable for CORE_1_WORLD_PHASE_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}