esp32p4/
lp_io_mux.rs

1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5    clk_en: CLK_EN,
6    ver_date: VER_DATE,
7    pad0: PAD0,
8    pad1: PAD1,
9    pad2: PAD2,
10    pad3: PAD3,
11    pad4: PAD4,
12    pad5: PAD5,
13    pad6: PAD6,
14    pad7: PAD7,
15    pad8: PAD8,
16    pad9: PAD9,
17    pad10: PAD10,
18    pad11: PAD11,
19    pad120: PAD120,
20    pad13: PAD13,
21    pad14: PAD14,
22    pad15: PAD15,
23    ext_wakeup0_sel: EXT_WAKEUP0_SEL,
24    lp_pad_hold: LP_PAD_HOLD,
25    lp_pad_hys: LP_PAD_HYS,
26}
27impl RegisterBlock {
28    #[doc = "0x00 - Reserved"]
29    #[inline(always)]
30    pub const fn clk_en(&self) -> &CLK_EN {
31        &self.clk_en
32    }
33    #[doc = "0x04 - Reserved"]
34    #[inline(always)]
35    pub const fn ver_date(&self) -> &VER_DATE {
36        &self.ver_date
37    }
38    #[doc = "0x08 - Reserved"]
39    #[inline(always)]
40    pub const fn pad0(&self) -> &PAD0 {
41        &self.pad0
42    }
43    #[doc = "0x0c - Reserved"]
44    #[inline(always)]
45    pub const fn pad1(&self) -> &PAD1 {
46        &self.pad1
47    }
48    #[doc = "0x10 - Reserved"]
49    #[inline(always)]
50    pub const fn pad2(&self) -> &PAD2 {
51        &self.pad2
52    }
53    #[doc = "0x14 - Reserved"]
54    #[inline(always)]
55    pub const fn pad3(&self) -> &PAD3 {
56        &self.pad3
57    }
58    #[doc = "0x18 - Reserved"]
59    #[inline(always)]
60    pub const fn pad4(&self) -> &PAD4 {
61        &self.pad4
62    }
63    #[doc = "0x1c - Reserved"]
64    #[inline(always)]
65    pub const fn pad5(&self) -> &PAD5 {
66        &self.pad5
67    }
68    #[doc = "0x20 - Reserved"]
69    #[inline(always)]
70    pub const fn pad6(&self) -> &PAD6 {
71        &self.pad6
72    }
73    #[doc = "0x24 - Reserved"]
74    #[inline(always)]
75    pub const fn pad7(&self) -> &PAD7 {
76        &self.pad7
77    }
78    #[doc = "0x28 - Reserved"]
79    #[inline(always)]
80    pub const fn pad8(&self) -> &PAD8 {
81        &self.pad8
82    }
83    #[doc = "0x2c - Reserved"]
84    #[inline(always)]
85    pub const fn pad9(&self) -> &PAD9 {
86        &self.pad9
87    }
88    #[doc = "0x30 - Reserved"]
89    #[inline(always)]
90    pub const fn pad10(&self) -> &PAD10 {
91        &self.pad10
92    }
93    #[doc = "0x34 - Reserved"]
94    #[inline(always)]
95    pub const fn pad11(&self) -> &PAD11 {
96        &self.pad11
97    }
98    #[doc = "0x38 - Reserved"]
99    #[inline(always)]
100    pub const fn pad120(&self) -> &PAD120 {
101        &self.pad120
102    }
103    #[doc = "0x3c - Reserved"]
104    #[inline(always)]
105    pub const fn pad13(&self) -> &PAD13 {
106        &self.pad13
107    }
108    #[doc = "0x40 - Reserved"]
109    #[inline(always)]
110    pub const fn pad14(&self) -> &PAD14 {
111        &self.pad14
112    }
113    #[doc = "0x44 - Reserved"]
114    #[inline(always)]
115    pub const fn pad15(&self) -> &PAD15 {
116        &self.pad15
117    }
118    #[doc = "0x48 - Reserved"]
119    #[inline(always)]
120    pub const fn ext_wakeup0_sel(&self) -> &EXT_WAKEUP0_SEL {
121        &self.ext_wakeup0_sel
122    }
123    #[doc = "0x4c - Reserved"]
124    #[inline(always)]
125    pub const fn lp_pad_hold(&self) -> &LP_PAD_HOLD {
126        &self.lp_pad_hold
127    }
128    #[doc = "0x50 - Reserved"]
129    #[inline(always)]
130    pub const fn lp_pad_hys(&self) -> &LP_PAD_HYS {
131        &self.lp_pad_hys
132    }
133}
134#[doc = "CLK_EN (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`clk_en::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 [`clk_en::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@clk_en`] module"]
135pub type CLK_EN = crate::Reg<clk_en::CLK_EN_SPEC>;
136#[doc = "Reserved"]
137pub mod clk_en;
138#[doc = "VER_DATE (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ver_date::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 [`ver_date::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@ver_date`] module"]
139pub type VER_DATE = crate::Reg<ver_date::VER_DATE_SPEC>;
140#[doc = "Reserved"]
141pub mod ver_date;
142#[doc = "PAD0 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad0::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 [`pad0::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@pad0`] module"]
143pub type PAD0 = crate::Reg<pad0::PAD0_SPEC>;
144#[doc = "Reserved"]
145pub mod pad0;
146#[doc = "PAD1 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad1::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 [`pad1::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@pad1`] module"]
147pub type PAD1 = crate::Reg<pad1::PAD1_SPEC>;
148#[doc = "Reserved"]
149pub mod pad1;
150#[doc = "PAD2 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad2::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 [`pad2::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@pad2`] module"]
151pub type PAD2 = crate::Reg<pad2::PAD2_SPEC>;
152#[doc = "Reserved"]
153pub mod pad2;
154#[doc = "PAD3 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad3::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 [`pad3::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@pad3`] module"]
155pub type PAD3 = crate::Reg<pad3::PAD3_SPEC>;
156#[doc = "Reserved"]
157pub mod pad3;
158#[doc = "PAD4 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad4::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 [`pad4::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@pad4`] module"]
159pub type PAD4 = crate::Reg<pad4::PAD4_SPEC>;
160#[doc = "Reserved"]
161pub mod pad4;
162#[doc = "PAD5 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad5::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 [`pad5::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@pad5`] module"]
163pub type PAD5 = crate::Reg<pad5::PAD5_SPEC>;
164#[doc = "Reserved"]
165pub mod pad5;
166#[doc = "PAD6 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad6::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 [`pad6::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@pad6`] module"]
167pub type PAD6 = crate::Reg<pad6::PAD6_SPEC>;
168#[doc = "Reserved"]
169pub mod pad6;
170#[doc = "PAD7 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad7::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 [`pad7::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@pad7`] module"]
171pub type PAD7 = crate::Reg<pad7::PAD7_SPEC>;
172#[doc = "Reserved"]
173pub mod pad7;
174#[doc = "PAD8 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad8::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 [`pad8::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@pad8`] module"]
175pub type PAD8 = crate::Reg<pad8::PAD8_SPEC>;
176#[doc = "Reserved"]
177pub mod pad8;
178#[doc = "PAD9 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad9::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 [`pad9::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@pad9`] module"]
179pub type PAD9 = crate::Reg<pad9::PAD9_SPEC>;
180#[doc = "Reserved"]
181pub mod pad9;
182#[doc = "PAD10 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad10::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 [`pad10::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@pad10`] module"]
183pub type PAD10 = crate::Reg<pad10::PAD10_SPEC>;
184#[doc = "Reserved"]
185pub mod pad10;
186#[doc = "PAD11 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad11::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 [`pad11::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@pad11`] module"]
187pub type PAD11 = crate::Reg<pad11::PAD11_SPEC>;
188#[doc = "Reserved"]
189pub mod pad11;
190#[doc = "PAD120 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad120::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 [`pad120::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@pad120`] module"]
191pub type PAD120 = crate::Reg<pad120::PAD120_SPEC>;
192#[doc = "Reserved"]
193pub mod pad120;
194#[doc = "PAD13 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad13::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 [`pad13::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@pad13`] module"]
195pub type PAD13 = crate::Reg<pad13::PAD13_SPEC>;
196#[doc = "Reserved"]
197pub mod pad13;
198#[doc = "PAD14 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad14::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 [`pad14::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@pad14`] module"]
199pub type PAD14 = crate::Reg<pad14::PAD14_SPEC>;
200#[doc = "Reserved"]
201pub mod pad14;
202#[doc = "PAD15 (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pad15::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 [`pad15::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@pad15`] module"]
203pub type PAD15 = crate::Reg<pad15::PAD15_SPEC>;
204#[doc = "Reserved"]
205pub mod pad15;
206#[doc = "EXT_WAKEUP0_SEL (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ext_wakeup0_sel::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 [`ext_wakeup0_sel::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@ext_wakeup0_sel`] module"]
207pub type EXT_WAKEUP0_SEL = crate::Reg<ext_wakeup0_sel::EXT_WAKEUP0_SEL_SPEC>;
208#[doc = "Reserved"]
209pub mod ext_wakeup0_sel;
210#[doc = "LP_PAD_HOLD (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`lp_pad_hold::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 [`lp_pad_hold::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@lp_pad_hold`] module"]
211pub type LP_PAD_HOLD = crate::Reg<lp_pad_hold::LP_PAD_HOLD_SPEC>;
212#[doc = "Reserved"]
213pub mod lp_pad_hold;
214#[doc = "LP_PAD_HYS (rw) register accessor: Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`lp_pad_hys::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 [`lp_pad_hys::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@lp_pad_hys`] module"]
215pub type LP_PAD_HYS = crate::Reg<lp_pad_hys::LP_PAD_HYS_SPEC>;
216#[doc = "Reserved"]
217pub mod lp_pad_hys;