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
#[doc = "Register `CLK_STATE2` reader"]
pub type R = crate::R<CLK_STATE2_SPEC>;
#[doc = "Field `ICG_APB_EN_STATE` reader - need_des"]
pub type ICG_APB_EN_STATE_R = crate::FieldReader<u32>;
impl R {
    #[doc = "Bits 0:31 - need_des"]
    #[inline(always)]
    pub fn icg_apb_en_state(&self) -> ICG_APB_EN_STATE_R {
        ICG_APB_EN_STATE_R::new(self.bits)
    }
}
#[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("CLK_STATE2")
            .field("icg_apb_en_state", &self.icg_apb_en_state())
            .finish()
    }
}
#[doc = "need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`clk_state2::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct CLK_STATE2_SPEC;
impl crate::RegisterSpec for CLK_STATE2_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`clk_state2::R`](R) reader structure"]
impl crate::Readable for CLK_STATE2_SPEC {}
#[doc = "`reset()` method sets CLK_STATE2 to value 0xffff_ffff"]
impl crate::Resettable for CLK_STATE2_SPEC {
    const RESET_VALUE: u32 = 0xffff_ffff;
}