esp32c6_lp/
lp_aon.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5    store0: STORE0,
6    store1: STORE1,
7    store2: STORE2,
8    store3: STORE3,
9    store4: STORE4,
10    store5: STORE5,
11    store6: STORE6,
12    store7: STORE7,
13    store8: STORE8,
14    store9: STORE9,
15    gpio_mux: GPIO_MUX,
16    gpio_hold0: GPIO_HOLD0,
17    gpio_hold1: GPIO_HOLD1,
18    sys_cfg: SYS_CFG,
19    cpucore0_cfg: CPUCORE0_CFG,
20    io_mux: IO_MUX,
21    ext_wakeup_cntl: EXT_WAKEUP_CNTL,
22    usb: USB,
23    lpbus: LPBUS,
24    sdio_active: SDIO_ACTIVE,
25    lpcore: LPCORE,
26    sar_cct: SAR_CCT,
27    _reserved22: [u8; 0x03a4],
28    date: DATE,
29}
30impl RegisterBlock {
31    #[doc = "0x00 - need_des"]
32    #[inline(always)]
33    pub const fn store0(&self) -> &STORE0 {
34        &self.store0
35    }
36    #[doc = "0x04 - need_des"]
37    #[inline(always)]
38    pub const fn store1(&self) -> &STORE1 {
39        &self.store1
40    }
41    #[doc = "0x08 - need_des"]
42    #[inline(always)]
43    pub const fn store2(&self) -> &STORE2 {
44        &self.store2
45    }
46    #[doc = "0x0c - need_des"]
47    #[inline(always)]
48    pub const fn store3(&self) -> &STORE3 {
49        &self.store3
50    }
51    #[doc = "0x10 - need_des"]
52    #[inline(always)]
53    pub const fn store4(&self) -> &STORE4 {
54        &self.store4
55    }
56    #[doc = "0x14 - need_des"]
57    #[inline(always)]
58    pub const fn store5(&self) -> &STORE5 {
59        &self.store5
60    }
61    #[doc = "0x18 - need_des"]
62    #[inline(always)]
63    pub const fn store6(&self) -> &STORE6 {
64        &self.store6
65    }
66    #[doc = "0x1c - need_des"]
67    #[inline(always)]
68    pub const fn store7(&self) -> &STORE7 {
69        &self.store7
70    }
71    #[doc = "0x20 - need_des"]
72    #[inline(always)]
73    pub const fn store8(&self) -> &STORE8 {
74        &self.store8
75    }
76    #[doc = "0x24 - need_des"]
77    #[inline(always)]
78    pub const fn store9(&self) -> &STORE9 {
79        &self.store9
80    }
81    #[doc = "0x28 - need_des"]
82    #[inline(always)]
83    pub const fn gpio_mux(&self) -> &GPIO_MUX {
84        &self.gpio_mux
85    }
86    #[doc = "0x2c - need_des"]
87    #[inline(always)]
88    pub const fn gpio_hold0(&self) -> &GPIO_HOLD0 {
89        &self.gpio_hold0
90    }
91    #[doc = "0x30 - need_des"]
92    #[inline(always)]
93    pub const fn gpio_hold1(&self) -> &GPIO_HOLD1 {
94        &self.gpio_hold1
95    }
96    #[doc = "0x34 - need_des"]
97    #[inline(always)]
98    pub const fn sys_cfg(&self) -> &SYS_CFG {
99        &self.sys_cfg
100    }
101    #[doc = "0x38 - need_des"]
102    #[inline(always)]
103    pub const fn cpucore0_cfg(&self) -> &CPUCORE0_CFG {
104        &self.cpucore0_cfg
105    }
106    #[doc = "0x3c - need_des"]
107    #[inline(always)]
108    pub const fn io_mux(&self) -> &IO_MUX {
109        &self.io_mux
110    }
111    #[doc = "0x40 - need_des"]
112    #[inline(always)]
113    pub const fn ext_wakeup_cntl(&self) -> &EXT_WAKEUP_CNTL {
114        &self.ext_wakeup_cntl
115    }
116    #[doc = "0x44 - need_des"]
117    #[inline(always)]
118    pub const fn usb(&self) -> &USB {
119        &self.usb
120    }
121    #[doc = "0x48 - need_des"]
122    #[inline(always)]
123    pub const fn lpbus(&self) -> &LPBUS {
124        &self.lpbus
125    }
126    #[doc = "0x4c - need_des"]
127    #[inline(always)]
128    pub const fn sdio_active(&self) -> &SDIO_ACTIVE {
129        &self.sdio_active
130    }
131    #[doc = "0x50 - need_des"]
132    #[inline(always)]
133    pub const fn lpcore(&self) -> &LPCORE {
134        &self.lpcore
135    }
136    #[doc = "0x54 - need_des"]
137    #[inline(always)]
138    pub const fn sar_cct(&self) -> &SAR_CCT {
139        &self.sar_cct
140    }
141    #[doc = "0x3fc - need_des"]
142    #[inline(always)]
143    pub const fn date(&self) -> &DATE {
144        &self.date
145    }
146}
147#[doc = "STORE0 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store0::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@store0`] module"]
148pub type STORE0 = crate::Reg<store0::STORE0_SPEC>;
149#[doc = "need_des"]
150pub mod store0;
151#[doc = "STORE1 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store1::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@store1`] module"]
152pub type STORE1 = crate::Reg<store1::STORE1_SPEC>;
153#[doc = "need_des"]
154pub mod store1;
155#[doc = "STORE2 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store2::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@store2`] module"]
156pub type STORE2 = crate::Reg<store2::STORE2_SPEC>;
157#[doc = "need_des"]
158pub mod store2;
159#[doc = "STORE3 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store3::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@store3`] module"]
160pub type STORE3 = crate::Reg<store3::STORE3_SPEC>;
161#[doc = "need_des"]
162pub mod store3;
163#[doc = "STORE4 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store4::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@store4`] module"]
164pub type STORE4 = crate::Reg<store4::STORE4_SPEC>;
165#[doc = "need_des"]
166pub mod store4;
167#[doc = "STORE5 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store5::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@store5`] module"]
168pub type STORE5 = crate::Reg<store5::STORE5_SPEC>;
169#[doc = "need_des"]
170pub mod store5;
171#[doc = "STORE6 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store6::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@store6`] module"]
172pub type STORE6 = crate::Reg<store6::STORE6_SPEC>;
173#[doc = "need_des"]
174pub mod store6;
175#[doc = "STORE7 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store7::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@store7`] module"]
176pub type STORE7 = crate::Reg<store7::STORE7_SPEC>;
177#[doc = "need_des"]
178pub mod store7;
179#[doc = "STORE8 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store8::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store8::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@store8`] module"]
180pub type STORE8 = crate::Reg<store8::STORE8_SPEC>;
181#[doc = "need_des"]
182pub mod store8;
183#[doc = "STORE9 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`store9::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`store9::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@store9`] module"]
184pub type STORE9 = crate::Reg<store9::STORE9_SPEC>;
185#[doc = "need_des"]
186pub mod store9;
187#[doc = "GPIO_MUX (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`gpio_mux::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gpio_mux::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@gpio_mux`] module"]
188pub type GPIO_MUX = crate::Reg<gpio_mux::GPIO_MUX_SPEC>;
189#[doc = "need_des"]
190pub mod gpio_mux;
191#[doc = "GPIO_HOLD0 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`gpio_hold0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gpio_hold0::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@gpio_hold0`] module"]
192pub type GPIO_HOLD0 = crate::Reg<gpio_hold0::GPIO_HOLD0_SPEC>;
193#[doc = "need_des"]
194pub mod gpio_hold0;
195#[doc = "GPIO_HOLD1 (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`gpio_hold1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gpio_hold1::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@gpio_hold1`] module"]
196pub type GPIO_HOLD1 = crate::Reg<gpio_hold1::GPIO_HOLD1_SPEC>;
197#[doc = "need_des"]
198pub mod gpio_hold1;
199#[doc = "SYS_CFG (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`sys_cfg::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sys_cfg::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@sys_cfg`] module"]
200pub type SYS_CFG = crate::Reg<sys_cfg::SYS_CFG_SPEC>;
201#[doc = "need_des"]
202pub mod sys_cfg;
203#[doc = "CPUCORE0_CFG (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`cpucore0_cfg::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cpucore0_cfg::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@cpucore0_cfg`] module"]
204pub type CPUCORE0_CFG = crate::Reg<cpucore0_cfg::CPUCORE0_CFG_SPEC>;
205#[doc = "need_des"]
206pub mod cpucore0_cfg;
207#[doc = "IO_MUX (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`io_mux::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`io_mux::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@io_mux`] module"]
208pub type IO_MUX = crate::Reg<io_mux::IO_MUX_SPEC>;
209#[doc = "need_des"]
210pub mod io_mux;
211#[doc = "EXT_WAKEUP_CNTL (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`ext_wakeup_cntl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ext_wakeup_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@ext_wakeup_cntl`] module"]
212pub type EXT_WAKEUP_CNTL = crate::Reg<ext_wakeup_cntl::EXT_WAKEUP_CNTL_SPEC>;
213#[doc = "need_des"]
214pub mod ext_wakeup_cntl;
215#[doc = "USB (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`usb::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`usb::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@usb`] module"]
216pub type USB = crate::Reg<usb::USB_SPEC>;
217#[doc = "need_des"]
218pub mod usb;
219#[doc = "LPBUS (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`lpbus::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lpbus::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@lpbus`] module"]
220pub type LPBUS = crate::Reg<lpbus::LPBUS_SPEC>;
221#[doc = "need_des"]
222pub mod lpbus;
223#[doc = "SDIO_ACTIVE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`sdio_active::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sdio_active::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@sdio_active`] module"]
224pub type SDIO_ACTIVE = crate::Reg<sdio_active::SDIO_ACTIVE_SPEC>;
225#[doc = "need_des"]
226pub mod sdio_active;
227#[doc = "LPCORE (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`lpcore::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lpcore::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@lpcore`] module"]
228pub type LPCORE = crate::Reg<lpcore::LPCORE_SPEC>;
229#[doc = "need_des"]
230pub mod lpcore;
231#[doc = "SAR_CCT (rw) register accessor: need_des\n\nYou can [`read`](crate::Reg::read) this register and get [`sar_cct::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar_cct::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@sar_cct`] module"]
232pub type SAR_CCT = crate::Reg<sar_cct::SAR_CCT_SPEC>;
233#[doc = "need_des"]
234pub mod sar_cct;
235#[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"]
236pub type DATE = crate::Reg<date::DATE_SPEC>;
237#[doc = "need_des"]
238pub mod date;