1#[repr(C)]
2#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 ctrl: CTRL,
6 ctrl2: CTRL2,
7 filter_ctrl1: FILTER_CTRL1,
8 fsm_wait: FSM_WAIT,
9 sar1_status: SAR1_STATUS,
10 sar2_status: SAR2_STATUS,
11 sar1_patt_tab1: SAR1_PATT_TAB1,
12 sar1_patt_tab2: SAR1_PATT_TAB2,
13 sar1_patt_tab3: SAR1_PATT_TAB3,
14 sar1_patt_tab4: SAR1_PATT_TAB4,
15 sar2_patt_tab1: SAR2_PATT_TAB1,
16 sar2_patt_tab2: SAR2_PATT_TAB2,
17 sar2_patt_tab3: SAR2_PATT_TAB3,
18 sar2_patt_tab4: SAR2_PATT_TAB4,
19 arb_ctrl: ARB_CTRL,
20 filter_ctrl0: FILTER_CTRL0,
21 apb_saradc1_data_status: APB_SARADC1_DATA_STATUS,
22 thres0_ctrl: THRES0_CTRL,
23 thres1_ctrl: THRES1_CTRL,
24 _reserved19: [u8; 0x0c],
25 thres_ctrl: THRES_CTRL,
26 int_ena: INT_ENA,
27 int_raw: INT_RAW,
28 int_st: INT_ST,
29 int_clr: INT_CLR,
30 dma_conf: DMA_CONF,
31 clkm_conf: CLKM_CONF,
32 _reserved26: [u8; 0x04],
33 apb_saradc2_data_status: APB_SARADC2_DATA_STATUS,
34 _reserved27: [u8; 0x0380],
35 ctrl_date: CTRL_DATE,
36}
37impl RegisterBlock {
38 #[doc = "0x00 - configure apb saradc controller"]
39 #[inline(always)]
40 pub const fn ctrl(&self) -> &CTRL {
41 &self.ctrl
42 }
43 #[doc = "0x04 - configure apb saradc controller"]
44 #[inline(always)]
45 pub const fn ctrl2(&self) -> &CTRL2 {
46 &self.ctrl2
47 }
48 #[doc = "0x08 - configure saradc filter"]
49 #[inline(always)]
50 pub const fn filter_ctrl1(&self) -> &FILTER_CTRL1 {
51 &self.filter_ctrl1
52 }
53 #[doc = "0x0c - configure apb saradc fsm"]
54 #[inline(always)]
55 pub const fn fsm_wait(&self) -> &FSM_WAIT {
56 &self.fsm_wait
57 }
58 #[doc = "0x10 - saradc1 status for debug"]
59 #[inline(always)]
60 pub const fn sar1_status(&self) -> &SAR1_STATUS {
61 &self.sar1_status
62 }
63 #[doc = "0x14 - saradc2 status for debug"]
64 #[inline(always)]
65 pub const fn sar2_status(&self) -> &SAR2_STATUS {
66 &self.sar2_status
67 }
68 #[doc = "0x18 - configure apb saradc pattern table"]
69 #[inline(always)]
70 pub const fn sar1_patt_tab1(&self) -> &SAR1_PATT_TAB1 {
71 &self.sar1_patt_tab1
72 }
73 #[doc = "0x1c - configure apb saradc pattern table"]
74 #[inline(always)]
75 pub const fn sar1_patt_tab2(&self) -> &SAR1_PATT_TAB2 {
76 &self.sar1_patt_tab2
77 }
78 #[doc = "0x20 - configure apb saradc pattern table"]
79 #[inline(always)]
80 pub const fn sar1_patt_tab3(&self) -> &SAR1_PATT_TAB3 {
81 &self.sar1_patt_tab3
82 }
83 #[doc = "0x24 - configure apb saradc pattern table"]
84 #[inline(always)]
85 pub const fn sar1_patt_tab4(&self) -> &SAR1_PATT_TAB4 {
86 &self.sar1_patt_tab4
87 }
88 #[doc = "0x28 - configure apb saradc pattern table"]
89 #[inline(always)]
90 pub const fn sar2_patt_tab1(&self) -> &SAR2_PATT_TAB1 {
91 &self.sar2_patt_tab1
92 }
93 #[doc = "0x2c - configure apb saradc pattern table"]
94 #[inline(always)]
95 pub const fn sar2_patt_tab2(&self) -> &SAR2_PATT_TAB2 {
96 &self.sar2_patt_tab2
97 }
98 #[doc = "0x30 - configure apb saradc pattern table"]
99 #[inline(always)]
100 pub const fn sar2_patt_tab3(&self) -> &SAR2_PATT_TAB3 {
101 &self.sar2_patt_tab3
102 }
103 #[doc = "0x34 - configure apb saradc pattern table"]
104 #[inline(always)]
105 pub const fn sar2_patt_tab4(&self) -> &SAR2_PATT_TAB4 {
106 &self.sar2_patt_tab4
107 }
108 #[doc = "0x38 - configure apb saradc arbit"]
109 #[inline(always)]
110 pub const fn arb_ctrl(&self) -> &ARB_CTRL {
111 &self.arb_ctrl
112 }
113 #[doc = "0x3c - configure apb saradc arbit"]
114 #[inline(always)]
115 pub const fn filter_ctrl0(&self) -> &FILTER_CTRL0 {
116 &self.filter_ctrl0
117 }
118 #[doc = "0x40 - get apb saradc sample data"]
119 #[inline(always)]
120 pub const fn apb_saradc1_data_status(&self) -> &APB_SARADC1_DATA_STATUS {
121 &self.apb_saradc1_data_status
122 }
123 #[doc = "0x44 - configure apb saradc thres monitor"]
124 #[inline(always)]
125 pub const fn thres0_ctrl(&self) -> &THRES0_CTRL {
126 &self.thres0_ctrl
127 }
128 #[doc = "0x48 - configure apb saradc thres monitor"]
129 #[inline(always)]
130 pub const fn thres1_ctrl(&self) -> &THRES1_CTRL {
131 &self.thres1_ctrl
132 }
133 #[doc = "0x58 - configure thres monitor enable"]
134 #[inline(always)]
135 pub const fn thres_ctrl(&self) -> &THRES_CTRL {
136 &self.thres_ctrl
137 }
138 #[doc = "0x5c - enable interrupt"]
139 #[inline(always)]
140 pub const fn int_ena(&self) -> &INT_ENA {
141 &self.int_ena
142 }
143 #[doc = "0x60 - raw of interrupt"]
144 #[inline(always)]
145 pub const fn int_raw(&self) -> &INT_RAW {
146 &self.int_raw
147 }
148 #[doc = "0x64 - state of interrupt"]
149 #[inline(always)]
150 pub const fn int_st(&self) -> &INT_ST {
151 &self.int_st
152 }
153 #[doc = "0x68 - clear interrupt"]
154 #[inline(always)]
155 pub const fn int_clr(&self) -> &INT_CLR {
156 &self.int_clr
157 }
158 #[doc = "0x6c - configure apb saradc dma"]
159 #[inline(always)]
160 pub const fn dma_conf(&self) -> &DMA_CONF {
161 &self.dma_conf
162 }
163 #[doc = "0x70 - configure apb saradc clock"]
164 #[inline(always)]
165 pub const fn clkm_conf(&self) -> &CLKM_CONF {
166 &self.clkm_conf
167 }
168 #[doc = "0x78 - get apb saradc2 sample data"]
169 #[inline(always)]
170 pub const fn apb_saradc2_data_status(&self) -> &APB_SARADC2_DATA_STATUS {
171 &self.apb_saradc2_data_status
172 }
173 #[doc = "0x3fc - version"]
174 #[inline(always)]
175 pub const fn ctrl_date(&self) -> &CTRL_DATE {
176 &self.ctrl_date
177 }
178}
179#[doc = "CTRL (rw) register accessor: configure apb saradc controller\n\nYou can [`read`](crate::Reg::read) this register and get [`ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`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@ctrl`] module"]
180pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
181#[doc = "configure apb saradc controller"]
182pub mod ctrl;
183#[doc = "CTRL2 (rw) register accessor: configure apb saradc controller\n\nYou can [`read`](crate::Reg::read) this register and get [`ctrl2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ctrl2::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@ctrl2`] module"]
184pub type CTRL2 = crate::Reg<ctrl2::CTRL2_SPEC>;
185#[doc = "configure apb saradc controller"]
186pub mod ctrl2;
187#[doc = "FILTER_CTRL1 (rw) register accessor: configure saradc filter\n\nYou can [`read`](crate::Reg::read) this register and get [`filter_ctrl1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`filter_ctrl1::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@filter_ctrl1`] module"]
188pub type FILTER_CTRL1 = crate::Reg<filter_ctrl1::FILTER_CTRL1_SPEC>;
189#[doc = "configure saradc filter"]
190pub mod filter_ctrl1;
191#[doc = "FSM_WAIT (rw) register accessor: configure apb saradc fsm\n\nYou can [`read`](crate::Reg::read) this register and get [`fsm_wait::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fsm_wait::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@fsm_wait`] module"]
192pub type FSM_WAIT = crate::Reg<fsm_wait::FSM_WAIT_SPEC>;
193#[doc = "configure apb saradc fsm"]
194pub mod fsm_wait;
195#[doc = "SAR1_STATUS (r) register accessor: saradc1 status for debug\n\nYou can [`read`](crate::Reg::read) this register and get [`sar1_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sar1_status`] module"]
196pub type SAR1_STATUS = crate::Reg<sar1_status::SAR1_STATUS_SPEC>;
197#[doc = "saradc1 status for debug"]
198pub mod sar1_status;
199#[doc = "SAR2_STATUS (r) register accessor: saradc2 status for debug\n\nYou can [`read`](crate::Reg::read) this register and get [`sar2_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sar2_status`] module"]
200pub type SAR2_STATUS = crate::Reg<sar2_status::SAR2_STATUS_SPEC>;
201#[doc = "saradc2 status for debug"]
202pub mod sar2_status;
203#[doc = "SAR1_PATT_TAB1 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar1_patt_tab1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar1_patt_tab1::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@sar1_patt_tab1`] module"]
204pub type SAR1_PATT_TAB1 = crate::Reg<sar1_patt_tab1::SAR1_PATT_TAB1_SPEC>;
205#[doc = "configure apb saradc pattern table"]
206pub mod sar1_patt_tab1;
207#[doc = "SAR1_PATT_TAB2 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar1_patt_tab2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar1_patt_tab2::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@sar1_patt_tab2`] module"]
208pub type SAR1_PATT_TAB2 = crate::Reg<sar1_patt_tab2::SAR1_PATT_TAB2_SPEC>;
209#[doc = "configure apb saradc pattern table"]
210pub mod sar1_patt_tab2;
211#[doc = "SAR1_PATT_TAB3 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar1_patt_tab3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar1_patt_tab3::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@sar1_patt_tab3`] module"]
212pub type SAR1_PATT_TAB3 = crate::Reg<sar1_patt_tab3::SAR1_PATT_TAB3_SPEC>;
213#[doc = "configure apb saradc pattern table"]
214pub mod sar1_patt_tab3;
215#[doc = "SAR1_PATT_TAB4 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar1_patt_tab4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar1_patt_tab4::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@sar1_patt_tab4`] module"]
216pub type SAR1_PATT_TAB4 = crate::Reg<sar1_patt_tab4::SAR1_PATT_TAB4_SPEC>;
217#[doc = "configure apb saradc pattern table"]
218pub mod sar1_patt_tab4;
219#[doc = "SAR2_PATT_TAB1 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar2_patt_tab1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar2_patt_tab1::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@sar2_patt_tab1`] module"]
220pub type SAR2_PATT_TAB1 = crate::Reg<sar2_patt_tab1::SAR2_PATT_TAB1_SPEC>;
221#[doc = "configure apb saradc pattern table"]
222pub mod sar2_patt_tab1;
223#[doc = "SAR2_PATT_TAB2 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar2_patt_tab2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar2_patt_tab2::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@sar2_patt_tab2`] module"]
224pub type SAR2_PATT_TAB2 = crate::Reg<sar2_patt_tab2::SAR2_PATT_TAB2_SPEC>;
225#[doc = "configure apb saradc pattern table"]
226pub mod sar2_patt_tab2;
227#[doc = "SAR2_PATT_TAB3 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar2_patt_tab3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar2_patt_tab3::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@sar2_patt_tab3`] module"]
228pub type SAR2_PATT_TAB3 = crate::Reg<sar2_patt_tab3::SAR2_PATT_TAB3_SPEC>;
229#[doc = "configure apb saradc pattern table"]
230pub mod sar2_patt_tab3;
231#[doc = "SAR2_PATT_TAB4 (rw) register accessor: configure apb saradc pattern table\n\nYou can [`read`](crate::Reg::read) this register and get [`sar2_patt_tab4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sar2_patt_tab4::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@sar2_patt_tab4`] module"]
232pub type SAR2_PATT_TAB4 = crate::Reg<sar2_patt_tab4::SAR2_PATT_TAB4_SPEC>;
233#[doc = "configure apb saradc pattern table"]
234pub mod sar2_patt_tab4;
235#[doc = "ARB_CTRL (rw) register accessor: configure apb saradc arbit\n\nYou can [`read`](crate::Reg::read) this register and get [`arb_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`arb_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@arb_ctrl`] module"]
236pub type ARB_CTRL = crate::Reg<arb_ctrl::ARB_CTRL_SPEC>;
237#[doc = "configure apb saradc arbit"]
238pub mod arb_ctrl;
239#[doc = "FILTER_CTRL0 (rw) register accessor: configure apb saradc arbit\n\nYou can [`read`](crate::Reg::read) this register and get [`filter_ctrl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`filter_ctrl0::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@filter_ctrl0`] module"]
240pub type FILTER_CTRL0 = crate::Reg<filter_ctrl0::FILTER_CTRL0_SPEC>;
241#[doc = "configure apb saradc arbit"]
242pub mod filter_ctrl0;
243#[doc = "APB_SARADC1_DATA_STATUS (r) register accessor: get apb saradc sample data\n\nYou can [`read`](crate::Reg::read) this register and get [`apb_saradc1_data_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@apb_saradc1_data_status`] module"]
244pub type APB_SARADC1_DATA_STATUS =
245 crate::Reg<apb_saradc1_data_status::APB_SARADC1_DATA_STATUS_SPEC>;
246#[doc = "get apb saradc sample data"]
247pub mod apb_saradc1_data_status;
248#[doc = "THRES0_CTRL (rw) register accessor: configure apb saradc thres monitor\n\nYou can [`read`](crate::Reg::read) this register and get [`thres0_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`thres0_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@thres0_ctrl`] module"]
249pub type THRES0_CTRL = crate::Reg<thres0_ctrl::THRES0_CTRL_SPEC>;
250#[doc = "configure apb saradc thres monitor"]
251pub mod thres0_ctrl;
252#[doc = "THRES1_CTRL (rw) register accessor: configure apb saradc thres monitor\n\nYou can [`read`](crate::Reg::read) this register and get [`thres1_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`thres1_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@thres1_ctrl`] module"]
253pub type THRES1_CTRL = crate::Reg<thres1_ctrl::THRES1_CTRL_SPEC>;
254#[doc = "configure apb saradc thres monitor"]
255pub mod thres1_ctrl;
256#[doc = "THRES_CTRL (rw) register accessor: configure thres monitor enable\n\nYou can [`read`](crate::Reg::read) this register and get [`thres_ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`thres_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@thres_ctrl`] module"]
257pub type THRES_CTRL = crate::Reg<thres_ctrl::THRES_CTRL_SPEC>;
258#[doc = "configure thres monitor enable"]
259pub mod thres_ctrl;
260#[doc = "INT_ENA (rw) register accessor: enable interrupt\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"]
261pub type INT_ENA = crate::Reg<int_ena::INT_ENA_SPEC>;
262#[doc = "enable interrupt"]
263pub mod int_ena;
264#[doc = "INT_RAW (r) register accessor: raw of interrupt\n\nYou can [`read`](crate::Reg::read) this register and get [`int_raw::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_raw`] module"]
265pub type INT_RAW = crate::Reg<int_raw::INT_RAW_SPEC>;
266#[doc = "raw of interrupt"]
267pub mod int_raw;
268#[doc = "INT_ST (r) register accessor: state of interrupt\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"]
269pub type INT_ST = crate::Reg<int_st::INT_ST_SPEC>;
270#[doc = "state of interrupt"]
271pub mod int_st;
272#[doc = "INT_CLR (w) register accessor: clear interrupt\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"]
273pub type INT_CLR = crate::Reg<int_clr::INT_CLR_SPEC>;
274#[doc = "clear interrupt"]
275pub mod int_clr;
276#[doc = "DMA_CONF (rw) register accessor: configure apb saradc dma\n\nYou can [`read`](crate::Reg::read) this register and get [`dma_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`dma_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@dma_conf`] module"]
277pub type DMA_CONF = crate::Reg<dma_conf::DMA_CONF_SPEC>;
278#[doc = "configure apb saradc dma"]
279pub mod dma_conf;
280#[doc = "CLKM_CONF (rw) register accessor: configure apb saradc clock\n\nYou can [`read`](crate::Reg::read) this register and get [`clkm_conf::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`clkm_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@clkm_conf`] module"]
281pub type CLKM_CONF = crate::Reg<clkm_conf::CLKM_CONF_SPEC>;
282#[doc = "configure apb saradc clock"]
283pub mod clkm_conf;
284#[doc = "APB_SARADC2_DATA_STATUS (r) register accessor: get apb saradc2 sample data\n\nYou can [`read`](crate::Reg::read) this register and get [`apb_saradc2_data_status::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@apb_saradc2_data_status`] module"]
285pub type APB_SARADC2_DATA_STATUS =
286 crate::Reg<apb_saradc2_data_status::APB_SARADC2_DATA_STATUS_SPEC>;
287#[doc = "get apb saradc2 sample data"]
288pub mod apb_saradc2_data_status;
289#[doc = "CTRL_DATE (rw) register accessor: version\n\nYou can [`read`](crate::Reg::read) this register and get [`ctrl_date::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ctrl_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@ctrl_date`] module"]
290pub type CTRL_DATE = crate::Reg<ctrl_date::CTRL_DATE_SPEC>;
291#[doc = "version"]
292pub mod ctrl_date;