1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 bod_mode0_cntl: BOD_MODE0_CNTL,
6 bod_mode1_cntl: BOD_MODE1_CNTL,
7 ck_glitch_cntl: CK_GLITCH_CNTL,
8 fib_enable: FIB_ENABLE,
9 int_raw: INT_RAW,
10 int_st: INT_ST,
11 int_ena: INT_ENA,
12 int_clr: INT_CLR,
13 lp_int_raw: LP_INT_RAW,
14 lp_int_st: LP_INT_ST,
15 lp_int_ena: LP_INT_ENA,
16 lp_int_clr: LP_INT_CLR,
17 _reserved12: [u8; 0x03cc],
18 date: DATE,
19}
20impl RegisterBlock {
21 #[doc = "0x00 - need_des"]
22 #[inline(always)]
23 pub const fn bod_mode0_cntl(&self) -> &BOD_MODE0_CNTL {
24 &self.bod_mode0_cntl
25 }
26 #[doc = "0x04 - need_des"]
27 #[inline(always)]
28 pub const fn bod_mode1_cntl(&self) -> &BOD_MODE1_CNTL {
29 &self.bod_mode1_cntl
30 }
31 #[doc = "0x08 - need_des"]
32 #[inline(always)]
33 pub const fn ck_glitch_cntl(&self) -> &CK_GLITCH_CNTL {
34 &self.ck_glitch_cntl
35 }
36 #[doc = "0x0c - need_des"]
37 #[inline(always)]
38 pub const fn fib_enable(&self) -> &FIB_ENABLE {
39 &self.fib_enable
40 }
41 #[doc = "0x10 - need_des"]
42 #[inline(always)]
43 pub const fn int_raw(&self) -> &INT_RAW {
44 &self.int_raw
45 }
46 #[doc = "0x14 - need_des"]
47 #[inline(always)]
48 pub const fn int_st(&self) -> &INT_ST {
49 &self.int_st
50 }
51 #[doc = "0x18 - need_des"]
52 #[inline(always)]
53 pub const fn int_ena(&self) -> &INT_ENA {
54 &self.int_ena
55 }
56 #[doc = "0x1c - need_des"]
57 #[inline(always)]
58 pub const fn int_clr(&self) -> &INT_CLR {
59 &self.int_clr
60 }
61 #[doc = "0x20 - need_des"]
62 #[inline(always)]
63 pub const fn lp_int_raw(&self) -> &LP_INT_RAW {
64 &self.lp_int_raw
65 }
66 #[doc = "0x24 - need_des"]
67 #[inline(always)]
68 pub const fn lp_int_st(&self) -> &LP_INT_ST {
69 &self.lp_int_st
70 }
71 #[doc = "0x28 - need_des"]
72 #[inline(always)]
73 pub const fn lp_int_ena(&self) -> &LP_INT_ENA {
74 &self.lp_int_ena
75 }
76 #[doc = "0x2c - need_des"]
77 #[inline(always)]
78 pub const fn lp_int_clr(&self) -> &LP_INT_CLR {
79 &self.lp_int_clr
80 }
81 #[doc = "0x3fc - need_des"]
82 #[inline(always)]
83 pub const fn date(&self) -> &DATE {
84 &self.date
85 }
86}
87#[doc = "BOD_MODE0_CNTL (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`bod_mode0_cntl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`bod_mode0_cntl::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@bod_mode0_cntl`] module"]
88pub type BOD_MODE0_CNTL = crate::Reg<bod_mode0_cntl::BOD_MODE0_CNTL_SPEC>;
89#[doc = "need_des"]
90pub mod bod_mode0_cntl;
91#[doc = "BOD_MODE1_CNTL (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`bod_mode1_cntl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`bod_mode1_cntl::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@bod_mode1_cntl`] module"]
92pub type BOD_MODE1_CNTL = crate::Reg<bod_mode1_cntl::BOD_MODE1_CNTL_SPEC>;
93#[doc = "need_des"]
94pub mod bod_mode1_cntl;
95#[doc = "CK_GLITCH_CNTL (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`ck_glitch_cntl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ck_glitch_cntl::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@ck_glitch_cntl`] module"]
96pub type CK_GLITCH_CNTL = crate::Reg<ck_glitch_cntl::CK_GLITCH_CNTL_SPEC>;
97#[doc = "need_des"]
98pub mod ck_glitch_cntl;
99#[doc = "FIB_ENABLE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`fib_enable::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fib_enable::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@fib_enable`] module"]
100pub type FIB_ENABLE = crate::Reg<fib_enable::FIB_ENABLE_SPEC>;
101#[doc = "need_des"]
102pub mod fib_enable;
103#[doc = "INT_RAW (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`int_raw::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_raw::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@int_raw`] module"]
104pub type INT_RAW = crate::Reg<int_raw::INT_RAW_SPEC>;
105#[doc = "need_des"]
106pub mod int_raw;
107#[doc = "INT_ST (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`int_st::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_st`] module"]
108pub type INT_ST = crate::Reg<int_st::INT_ST_SPEC>;
109#[doc = "need_des"]
110pub mod int_st;
111#[doc = "INT_ENA (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`int_ena::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_ena::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@int_ena`] module"]
112pub type INT_ENA = crate::Reg<int_ena::INT_ENA_SPEC>;
113#[doc = "need_des"]
114pub mod int_ena;
115#[doc = "INT_CLR (w) register accessor: need_des\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_clr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_clr`] module"]
116pub type INT_CLR = crate::Reg<int_clr::INT_CLR_SPEC>;
117#[doc = "need_des"]
118pub mod int_clr;
119#[doc = "LP_INT_RAW (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`lp_int_raw::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lp_int_raw::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@lp_int_raw`] module"]
120pub type LP_INT_RAW = crate::Reg<lp_int_raw::LP_INT_RAW_SPEC>;
121#[doc = "need_des"]
122pub mod lp_int_raw;
123#[doc = "LP_INT_ST (r) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`lp_int_st::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lp_int_st`] module"]
124pub type LP_INT_ST = crate::Reg<lp_int_st::LP_INT_ST_SPEC>;
125#[doc = "need_des"]
126pub mod lp_int_st;
127#[doc = "LP_INT_ENA (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`lp_int_ena::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lp_int_ena::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@lp_int_ena`] module"]
128pub type LP_INT_ENA = crate::Reg<lp_int_ena::LP_INT_ENA_SPEC>;
129#[doc = "need_des"]
130pub mod lp_int_ena;
131#[doc = "LP_INT_CLR (w) register accessor: need_des\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lp_int_clr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lp_int_clr`] module"]
132pub type LP_INT_CLR = crate::Reg<lp_int_clr::LP_INT_CLR_SPEC>;
133#[doc = "need_des"]
134pub mod lp_int_clr;
135#[doc = "DATE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`date::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`date::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@date`] module"]
136pub type DATE = crate::Reg<date::DATE_SPEC>;
137#[doc = "need_des"]
138pub mod date;