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
40
41
42
43
44
45
46
47
48
49
#[doc = r"Register block"]
#[repr(C)]
#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
pub struct RegisterBlock {
    _reserved0: [u8; 0xfc],
    rtc_ulp_cp_timer: RTC_ULP_CP_TIMER,
    rtc_ulp_cp_ctrl: RTC_ULP_CP_CTRL,
    rtc_cocpu_ctrl: RTC_COCPU_CTRL,
    _reserved3: [u8; 0x2c],
    rtc_ulp_cp_timer_1: RTC_ULP_CP_TIMER_1,
}
impl RegisterBlock {
    #[doc = "0xfc - configure ulp"]
    #[inline(always)]
    pub const fn rtc_ulp_cp_timer(&self) -> &RTC_ULP_CP_TIMER {
        &self.rtc_ulp_cp_timer
    }
    #[doc = "0x100 - configure ulp"]
    #[inline(always)]
    pub const fn rtc_ulp_cp_ctrl(&self) -> &RTC_ULP_CP_CTRL {
        &self.rtc_ulp_cp_ctrl
    }
    #[doc = "0x104 - configure ulp-riscv"]
    #[inline(always)]
    pub const fn rtc_cocpu_ctrl(&self) -> &RTC_COCPU_CTRL {
        &self.rtc_cocpu_ctrl
    }
    #[doc = "0x134 - configure ulp sleep time"]
    #[inline(always)]
    pub const fn rtc_ulp_cp_timer_1(&self) -> &RTC_ULP_CP_TIMER_1 {
        &self.rtc_ulp_cp_timer_1
    }
}
#[doc = "RTC_ULP_CP_TIMER (rw) register accessor: configure ulp\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rtc_ulp_cp_timer::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`rtc_ulp_cp_timer::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rtc_ulp_cp_timer`] module"]
pub type RTC_ULP_CP_TIMER = crate::Reg<rtc_ulp_cp_timer::RTC_ULP_CP_TIMER_SPEC>;
#[doc = "configure ulp"]
pub mod rtc_ulp_cp_timer;
#[doc = "RTC_ULP_CP_CTRL (rw) register accessor: configure ulp\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rtc_ulp_cp_ctrl::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`rtc_ulp_cp_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rtc_ulp_cp_ctrl`] module"]
pub type RTC_ULP_CP_CTRL = crate::Reg<rtc_ulp_cp_ctrl::RTC_ULP_CP_CTRL_SPEC>;
#[doc = "configure ulp"]
pub mod rtc_ulp_cp_ctrl;
#[doc = "RTC_COCPU_CTRL (rw) register accessor: configure ulp-riscv\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rtc_cocpu_ctrl::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`rtc_cocpu_ctrl::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rtc_cocpu_ctrl`] module"]
pub type RTC_COCPU_CTRL = crate::Reg<rtc_cocpu_ctrl::RTC_COCPU_CTRL_SPEC>;
#[doc = "configure ulp-riscv"]
pub mod rtc_cocpu_ctrl;
#[doc = "RTC_ULP_CP_TIMER_1 (rw) register accessor: configure ulp sleep time\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`rtc_ulp_cp_timer_1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`rtc_ulp_cp_timer_1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rtc_ulp_cp_timer_1`] module"]
pub type RTC_ULP_CP_TIMER_1 = crate::Reg<rtc_ulp_cp_timer_1::RTC_ULP_CP_TIMER_1_SPEC>;
#[doc = "configure ulp sleep time"]
pub mod rtc_ulp_cp_timer_1;