1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 test_conf: TEST_CONF,
6 lp_timer_conf: LP_TIMER_CONF,
7 coex_lp_clk_conf: COEX_LP_CLK_CONF,
8 wifi_lp_clk_conf: WIFI_LP_CLK_CONF,
9 i2c_mst_clk_conf: I2C_MST_CLK_CONF,
10 modem_32k_clk_conf: MODEM_32K_CLK_CONF,
11 clk_conf: CLK_CONF,
12 clk_conf_force_on: CLK_CONF_FORCE_ON,
13 clk_conf_power_st: CLK_CONF_POWER_ST,
14 rst_conf: RST_CONF,
15 mem_conf: MEM_CONF,
16 date: DATE,
17}
18impl RegisterBlock {
19 #[doc = "0x00 - "]
20 #[inline(always)]
21 pub const fn test_conf(&self) -> &TEST_CONF {
22 &self.test_conf
23 }
24 #[doc = "0x04 - "]
25 #[inline(always)]
26 pub const fn lp_timer_conf(&self) -> &LP_TIMER_CONF {
27 &self.lp_timer_conf
28 }
29 #[doc = "0x08 - "]
30 #[inline(always)]
31 pub const fn coex_lp_clk_conf(&self) -> &COEX_LP_CLK_CONF {
32 &self.coex_lp_clk_conf
33 }
34 #[doc = "0x0c - "]
35 #[inline(always)]
36 pub const fn wifi_lp_clk_conf(&self) -> &WIFI_LP_CLK_CONF {
37 &self.wifi_lp_clk_conf
38 }
39 #[doc = "0x10 - "]
40 #[inline(always)]
41 pub const fn i2c_mst_clk_conf(&self) -> &I2C_MST_CLK_CONF {
42 &self.i2c_mst_clk_conf
43 }
44 #[doc = "0x14 - "]
45 #[inline(always)]
46 pub const fn modem_32k_clk_conf(&self) -> &MODEM_32K_CLK_CONF {
47 &self.modem_32k_clk_conf
48 }
49 #[doc = "0x18 - "]
50 #[inline(always)]
51 pub const fn clk_conf(&self) -> &CLK_CONF {
52 &self.clk_conf
53 }
54 #[doc = "0x1c - "]
55 #[inline(always)]
56 pub const fn clk_conf_force_on(&self) -> &CLK_CONF_FORCE_ON {
57 &self.clk_conf_force_on
58 }
59 #[doc = "0x20 - "]
60 #[inline(always)]
61 pub const fn clk_conf_power_st(&self) -> &CLK_CONF_POWER_ST {
62 &self.clk_conf_power_st
63 }
64 #[doc = "0x24 - "]
65 #[inline(always)]
66 pub const fn rst_conf(&self) -> &RST_CONF {
67 &self.rst_conf
68 }
69 #[doc = "0x28 - "]
70 #[inline(always)]
71 pub const fn mem_conf(&self) -> &MEM_CONF {
72 &self.mem_conf
73 }
74 #[doc = "0x2c - "]
75 #[inline(always)]
76 pub const fn date(&self) -> &DATE {
77 &self.date
78 }
79}
80#[doc = "TEST_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`test_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`test_conf::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@test_conf`] module"]
81pub type TEST_CONF = crate::Reg<test_conf::TEST_CONF_SPEC>;
82#[doc = ""]
83pub mod test_conf;
84#[doc = "LP_TIMER_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`lp_timer_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lp_timer_conf::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_timer_conf`] module"]
85pub type LP_TIMER_CONF = crate::Reg<lp_timer_conf::LP_TIMER_CONF_SPEC>;
86#[doc = ""]
87pub mod lp_timer_conf;
88#[doc = "COEX_LP_CLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`coex_lp_clk_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`coex_lp_clk_conf::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@coex_lp_clk_conf`] module"]
89pub type COEX_LP_CLK_CONF = crate::Reg<coex_lp_clk_conf::COEX_LP_CLK_CONF_SPEC>;
90#[doc = ""]
91pub mod coex_lp_clk_conf;
92#[doc = "WIFI_LP_CLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`wifi_lp_clk_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wifi_lp_clk_conf::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@wifi_lp_clk_conf`] module"]
93pub type WIFI_LP_CLK_CONF = crate::Reg<wifi_lp_clk_conf::WIFI_LP_CLK_CONF_SPEC>;
94#[doc = ""]
95pub mod wifi_lp_clk_conf;
96#[doc = "I2C_MST_CLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`i2c_mst_clk_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`i2c_mst_clk_conf::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@i2c_mst_clk_conf`] module"]
97pub type I2C_MST_CLK_CONF = crate::Reg<i2c_mst_clk_conf::I2C_MST_CLK_CONF_SPEC>;
98#[doc = ""]
99pub mod i2c_mst_clk_conf;
100#[doc = "MODEM_32K_CLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`modem_32k_clk_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`modem_32k_clk_conf::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@modem_32k_clk_conf`] module"]
101pub type MODEM_32K_CLK_CONF = crate::Reg<modem_32k_clk_conf::MODEM_32K_CLK_CONF_SPEC>;
102#[doc = ""]
103pub mod modem_32k_clk_conf;
104#[doc = "CLK_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_conf::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@clk_conf`] module"]
105pub type CLK_CONF = crate::Reg<clk_conf::CLK_CONF_SPEC>;
106#[doc = ""]
107pub mod clk_conf;
108#[doc = "CLK_CONF_FORCE_ON (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf_force_on::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_conf_force_on::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@clk_conf_force_on`] module"]
109pub type CLK_CONF_FORCE_ON = crate::Reg<clk_conf_force_on::CLK_CONF_FORCE_ON_SPEC>;
110#[doc = ""]
111pub mod clk_conf_force_on;
112#[doc = "CLK_CONF_POWER_ST (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`clk_conf_power_st::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clk_conf_power_st::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@clk_conf_power_st`] module"]
113pub type CLK_CONF_POWER_ST = crate::Reg<clk_conf_power_st::CLK_CONF_POWER_ST_SPEC>;
114#[doc = ""]
115pub mod clk_conf_power_st;
116#[doc = "RST_CONF (w) register accessor: \n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rst_conf::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rst_conf`] module"]
117pub type RST_CONF = crate::Reg<rst_conf::RST_CONF_SPEC>;
118#[doc = ""]
119pub mod rst_conf;
120#[doc = "MEM_CONF (rw) register accessor: \n\nYou can [`read`](crate::Reg::read) this register and get [`mem_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mem_conf::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@mem_conf`] module"]
121pub type MEM_CONF = crate::Reg<mem_conf::MEM_CONF_SPEC>;
122#[doc = ""]
123pub mod mem_conf;
124#[doc = "DATE (rw) register accessor: \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"]
125pub type DATE = crate::Reg<date::DATE_SPEC>;
126#[doc = ""]
127pub mod date;