1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 wake_timer_ctrl: WakeTimerCtrl,
6 _reserved1: [u8; 0x08],
7 wake_timer_cnt: WakeTimerCnt,
8}
9impl RegisterBlock {
10 #[doc = "0x00 - Wake Timer Control"]
11 #[inline(always)]
12 pub const fn wake_timer_ctrl(&self) -> &WakeTimerCtrl {
13 &self.wake_timer_ctrl
14 }
15 #[doc = "0x0c - Wake Timer Counter"]
16 #[inline(always)]
17 pub const fn wake_timer_cnt(&self) -> &WakeTimerCnt {
18 &self.wake_timer_cnt
19 }
20}
21#[doc = "WAKE_TIMER_CTRL (rw) register accessor: Wake Timer Control\n\nYou can [`read`](crate::Reg::read) this register and get [`wake_timer_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wake_timer_ctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@wake_timer_ctrl`] module"]
22#[doc(alias = "WAKE_TIMER_CTRL")]
23pub type WakeTimerCtrl = crate::Reg<wake_timer_ctrl::WakeTimerCtrlSpec>;
24#[doc = "Wake Timer Control"]
25pub mod wake_timer_ctrl;
26#[doc = "WAKE_TIMER_CNT (rw) register accessor: Wake Timer Counter\n\nYou can [`read`](crate::Reg::read) this register and get [`wake_timer_cnt::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wake_timer_cnt::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@wake_timer_cnt`] module"]
27#[doc(alias = "WAKE_TIMER_CNT")]
28pub type WakeTimerCnt = crate::Reg<wake_timer_cnt::WakeTimerCntSpec>;
29#[doc = "Wake Timer Counter"]
30pub mod wake_timer_cnt;