mcxa_pac/
eqdc0.rs

1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5    ctrl: Ctrl,
6    ctrl2: Ctrl2,
7    filt: Filt,
8    lastedge: Lastedge,
9    posdper: Posdper,
10    posdperbfr: Posdperbfr,
11    upos: Upos,
12    lpos: Lpos,
13    posd: Posd,
14    posdh: Posdh,
15    uposh: Uposh,
16    lposh: Lposh,
17    lastedgeh: Lastedgeh,
18    posdperh: Posdperh,
19    revh: Revh,
20    rev: Rev,
21    uinit: Uinit,
22    linit: Linit,
23    umod: Umod,
24    lmod: Lmod,
25    ucomp0: Ucomp0,
26    lcomp0: Lcomp0,
27    _reserved_22_ucomp1: [u8; 0x02],
28    _reserved_23_lcomp1: [u8; 0x02],
29    _reserved_24_ucomp2: [u8; 0x02],
30    _reserved_25_lcomp2: [u8; 0x02],
31    _reserved_26_ucomp3: [u8; 0x02],
32    _reserved_27_lcomp3: [u8; 0x02],
33    intctrl: Intctrl,
34    wtr: Wtr,
35    imr: Imr,
36    tst: Tst,
37    _reserved32: [u8; 0x10],
38    uverid: Uverid,
39    lverid: Lverid,
40}
41impl RegisterBlock {
42    #[doc = "0x00 - Control Register"]
43    #[inline(always)]
44    pub const fn ctrl(&self) -> &Ctrl {
45        &self.ctrl
46    }
47    #[doc = "0x02 - Control 2 Register"]
48    #[inline(always)]
49    pub const fn ctrl2(&self) -> &Ctrl2 {
50        &self.ctrl2
51    }
52    #[doc = "0x04 - Input Filter Register"]
53    #[inline(always)]
54    pub const fn filt(&self) -> &Filt {
55        &self.filt
56    }
57    #[doc = "0x06 - Last Edge Time Register"]
58    #[inline(always)]
59    pub const fn lastedge(&self) -> &Lastedge {
60        &self.lastedge
61    }
62    #[doc = "0x08 - Position Difference Period Counter Register"]
63    #[inline(always)]
64    pub const fn posdper(&self) -> &Posdper {
65        &self.posdper
66    }
67    #[doc = "0x0a - Position Difference Period Buffer Register"]
68    #[inline(always)]
69    pub const fn posdperbfr(&self) -> &Posdperbfr {
70        &self.posdperbfr
71    }
72    #[doc = "0x0c - Upper Position Counter Register"]
73    #[inline(always)]
74    pub const fn upos(&self) -> &Upos {
75        &self.upos
76    }
77    #[doc = "0x0e - Lower Position Counter Register"]
78    #[inline(always)]
79    pub const fn lpos(&self) -> &Lpos {
80        &self.lpos
81    }
82    #[doc = "0x10 - Position Difference Counter Register"]
83    #[inline(always)]
84    pub const fn posd(&self) -> &Posd {
85        &self.posd
86    }
87    #[doc = "0x12 - Position Difference Hold Register"]
88    #[inline(always)]
89    pub const fn posdh(&self) -> &Posdh {
90        &self.posdh
91    }
92    #[doc = "0x14 - Upper Position Hold Register"]
93    #[inline(always)]
94    pub const fn uposh(&self) -> &Uposh {
95        &self.uposh
96    }
97    #[doc = "0x16 - Lower Position Hold Register"]
98    #[inline(always)]
99    pub const fn lposh(&self) -> &Lposh {
100        &self.lposh
101    }
102    #[doc = "0x18 - Last Edge Time Hold Register"]
103    #[inline(always)]
104    pub const fn lastedgeh(&self) -> &Lastedgeh {
105        &self.lastedgeh
106    }
107    #[doc = "0x1a - Position Difference Period Hold Register"]
108    #[inline(always)]
109    pub const fn posdperh(&self) -> &Posdperh {
110        &self.posdperh
111    }
112    #[doc = "0x1c - Revolution Hold Register"]
113    #[inline(always)]
114    pub const fn revh(&self) -> &Revh {
115        &self.revh
116    }
117    #[doc = "0x1e - Revolution Counter Register"]
118    #[inline(always)]
119    pub const fn rev(&self) -> &Rev {
120        &self.rev
121    }
122    #[doc = "0x20 - Upper Initialization Register"]
123    #[inline(always)]
124    pub const fn uinit(&self) -> &Uinit {
125        &self.uinit
126    }
127    #[doc = "0x22 - Lower Initialization Register"]
128    #[inline(always)]
129    pub const fn linit(&self) -> &Linit {
130        &self.linit
131    }
132    #[doc = "0x24 - Upper Modulus Register"]
133    #[inline(always)]
134    pub const fn umod(&self) -> &Umod {
135        &self.umod
136    }
137    #[doc = "0x26 - Lower Modulus Register"]
138    #[inline(always)]
139    pub const fn lmod(&self) -> &Lmod {
140        &self.lmod
141    }
142    #[doc = "0x28 - Upper Position Compare Register 0"]
143    #[inline(always)]
144    pub const fn ucomp0(&self) -> &Ucomp0 {
145        &self.ucomp0
146    }
147    #[doc = "0x2a - Lower Position Compare Register 0"]
148    #[inline(always)]
149    pub const fn lcomp0(&self) -> &Lcomp0 {
150        &self.lcomp0
151    }
152    #[doc = "0x2c - Upper Position Holder Register 1"]
153    #[inline(always)]
154    pub const fn uposh1(&self) -> &Uposh1 {
155        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(44).cast() }
156    }
157    #[doc = "0x2c - Upper Position Compare 1"]
158    #[inline(always)]
159    pub const fn ucomp1(&self) -> &Ucomp1 {
160        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(44).cast() }
161    }
162    #[doc = "0x2e - Lower Position Holder Register 1"]
163    #[inline(always)]
164    pub const fn lposh1(&self) -> &Lposh1 {
165        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(46).cast() }
166    }
167    #[doc = "0x2e - Lower Position Compare 1"]
168    #[inline(always)]
169    pub const fn lcomp1(&self) -> &Lcomp1 {
170        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(46).cast() }
171    }
172    #[doc = "0x30 - Upper Position Holder Register 3"]
173    #[inline(always)]
174    pub const fn uposh2(&self) -> &Uposh2 {
175        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(48).cast() }
176    }
177    #[doc = "0x30 - Upper Position Compare 2"]
178    #[inline(always)]
179    pub const fn ucomp2(&self) -> &Ucomp2 {
180        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(48).cast() }
181    }
182    #[doc = "0x32 - Lower Position Holder Register 2"]
183    #[inline(always)]
184    pub const fn lposh2(&self) -> &Lposh2 {
185        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(50).cast() }
186    }
187    #[doc = "0x32 - Lower Position Compare 2"]
188    #[inline(always)]
189    pub const fn lcomp2(&self) -> &Lcomp2 {
190        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(50).cast() }
191    }
192    #[doc = "0x34 - Upper Position Holder Register 3"]
193    #[inline(always)]
194    pub const fn uposh3(&self) -> &Uposh3 {
195        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(52).cast() }
196    }
197    #[doc = "0x34 - Upper Position Compare 3"]
198    #[inline(always)]
199    pub const fn ucomp3(&self) -> &Ucomp3 {
200        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(52).cast() }
201    }
202    #[doc = "0x36 - Lower Position Holder Register 3"]
203    #[inline(always)]
204    pub const fn lposh3(&self) -> &Lposh3 {
205        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(54).cast() }
206    }
207    #[doc = "0x36 - Lower Position Compare 3"]
208    #[inline(always)]
209    pub const fn lcomp3(&self) -> &Lcomp3 {
210        unsafe { &*core::ptr::from_ref(self).cast::<u8>().add(54).cast() }
211    }
212    #[doc = "0x38 - Interrupt Control Register"]
213    #[inline(always)]
214    pub const fn intctrl(&self) -> &Intctrl {
215        &self.intctrl
216    }
217    #[doc = "0x3a - Watchdog Timeout Register"]
218    #[inline(always)]
219    pub const fn wtr(&self) -> &Wtr {
220        &self.wtr
221    }
222    #[doc = "0x3c - Input Monitor Register"]
223    #[inline(always)]
224    pub const fn imr(&self) -> &Imr {
225        &self.imr
226    }
227    #[doc = "0x3e - Test Register"]
228    #[inline(always)]
229    pub const fn tst(&self) -> &Tst {
230        &self.tst
231    }
232    #[doc = "0x50 - Upper VERID"]
233    #[inline(always)]
234    pub const fn uverid(&self) -> &Uverid {
235        &self.uverid
236    }
237    #[doc = "0x52 - Lower VERID"]
238    #[inline(always)]
239    pub const fn lverid(&self) -> &Lverid {
240        &self.lverid
241    }
242}
243#[doc = "CTRL (rw) register accessor: Control Register\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"]
244#[doc(alias = "CTRL")]
245pub type Ctrl = crate::Reg<ctrl::CtrlSpec>;
246#[doc = "Control Register"]
247pub mod ctrl;
248#[doc = "CTRL2 (rw) register accessor: Control 2 Register\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"]
249#[doc(alias = "CTRL2")]
250pub type Ctrl2 = crate::Reg<ctrl2::Ctrl2Spec>;
251#[doc = "Control 2 Register"]
252pub mod ctrl2;
253#[doc = "FILT (rw) register accessor: Input Filter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`filt::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`filt::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@filt`] module"]
254#[doc(alias = "FILT")]
255pub type Filt = crate::Reg<filt::FiltSpec>;
256#[doc = "Input Filter Register"]
257pub mod filt;
258#[doc = "LASTEDGE (r) register accessor: Last Edge Time Register\n\nYou can [`read`](crate::Reg::read) this register and get [`lastedge::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lastedge`] module"]
259#[doc(alias = "LASTEDGE")]
260pub type Lastedge = crate::Reg<lastedge::LastedgeSpec>;
261#[doc = "Last Edge Time Register"]
262pub mod lastedge;
263#[doc = "POSDPER (r) register accessor: Position Difference Period Counter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`posdper::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@posdper`] module"]
264#[doc(alias = "POSDPER")]
265pub type Posdper = crate::Reg<posdper::PosdperSpec>;
266#[doc = "Position Difference Period Counter Register"]
267pub mod posdper;
268#[doc = "POSDPERBFR (r) register accessor: Position Difference Period Buffer Register\n\nYou can [`read`](crate::Reg::read) this register and get [`posdperbfr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@posdperbfr`] module"]
269#[doc(alias = "POSDPERBFR")]
270pub type Posdperbfr = crate::Reg<posdperbfr::PosdperbfrSpec>;
271#[doc = "Position Difference Period Buffer Register"]
272pub mod posdperbfr;
273#[doc = "UPOS (rw) register accessor: Upper Position Counter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`upos::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`upos::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@upos`] module"]
274#[doc(alias = "UPOS")]
275pub type Upos = crate::Reg<upos::UposSpec>;
276#[doc = "Upper Position Counter Register"]
277pub mod upos;
278#[doc = "LPOS (rw) register accessor: Lower Position Counter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`lpos::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lpos::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@lpos`] module"]
279#[doc(alias = "LPOS")]
280pub type Lpos = crate::Reg<lpos::LposSpec>;
281#[doc = "Lower Position Counter Register"]
282pub mod lpos;
283#[doc = "POSD (rw) register accessor: Position Difference Counter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`posd::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`posd::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@posd`] module"]
284#[doc(alias = "POSD")]
285pub type Posd = crate::Reg<posd::PosdSpec>;
286#[doc = "Position Difference Counter Register"]
287pub mod posd;
288#[doc = "POSDH (r) register accessor: Position Difference Hold Register\n\nYou can [`read`](crate::Reg::read) this register and get [`posdh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@posdh`] module"]
289#[doc(alias = "POSDH")]
290pub type Posdh = crate::Reg<posdh::PosdhSpec>;
291#[doc = "Position Difference Hold Register"]
292pub mod posdh;
293#[doc = "UPOSH (r) register accessor: Upper Position Hold Register\n\nYou can [`read`](crate::Reg::read) this register and get [`uposh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@uposh`] module"]
294#[doc(alias = "UPOSH")]
295pub type Uposh = crate::Reg<uposh::UposhSpec>;
296#[doc = "Upper Position Hold Register"]
297pub mod uposh;
298#[doc = "LPOSH (r) register accessor: Lower Position Hold Register\n\nYou can [`read`](crate::Reg::read) this register and get [`lposh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lposh`] module"]
299#[doc(alias = "LPOSH")]
300pub type Lposh = crate::Reg<lposh::LposhSpec>;
301#[doc = "Lower Position Hold Register"]
302pub mod lposh;
303#[doc = "LASTEDGEH (r) register accessor: Last Edge Time Hold Register\n\nYou can [`read`](crate::Reg::read) this register and get [`lastedgeh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lastedgeh`] module"]
304#[doc(alias = "LASTEDGEH")]
305pub type Lastedgeh = crate::Reg<lastedgeh::LastedgehSpec>;
306#[doc = "Last Edge Time Hold Register"]
307pub mod lastedgeh;
308#[doc = "POSDPERH (r) register accessor: Position Difference Period Hold Register\n\nYou can [`read`](crate::Reg::read) this register and get [`posdperh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@posdperh`] module"]
309#[doc(alias = "POSDPERH")]
310pub type Posdperh = crate::Reg<posdperh::PosdperhSpec>;
311#[doc = "Position Difference Period Hold Register"]
312pub mod posdperh;
313#[doc = "REVH (r) register accessor: Revolution Hold Register\n\nYou can [`read`](crate::Reg::read) this register and get [`revh::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@revh`] module"]
314#[doc(alias = "REVH")]
315pub type Revh = crate::Reg<revh::RevhSpec>;
316#[doc = "Revolution Hold Register"]
317pub mod revh;
318#[doc = "REV (rw) register accessor: Revolution Counter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`rev::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rev::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@rev`] module"]
319#[doc(alias = "REV")]
320pub type Rev = crate::Reg<rev::RevSpec>;
321#[doc = "Revolution Counter Register"]
322pub mod rev;
323#[doc = "UINIT (rw) register accessor: Upper Initialization Register\n\nYou can [`read`](crate::Reg::read) this register and get [`uinit::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`uinit::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@uinit`] module"]
324#[doc(alias = "UINIT")]
325pub type Uinit = crate::Reg<uinit::UinitSpec>;
326#[doc = "Upper Initialization Register"]
327pub mod uinit;
328#[doc = "LINIT (rw) register accessor: Lower Initialization Register\n\nYou can [`read`](crate::Reg::read) this register and get [`linit::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`linit::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@linit`] module"]
329#[doc(alias = "LINIT")]
330pub type Linit = crate::Reg<linit::LinitSpec>;
331#[doc = "Lower Initialization Register"]
332pub mod linit;
333#[doc = "UMOD (rw) register accessor: Upper Modulus Register\n\nYou can [`read`](crate::Reg::read) this register and get [`umod::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`umod::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@umod`] module"]
334#[doc(alias = "UMOD")]
335pub type Umod = crate::Reg<umod::UmodSpec>;
336#[doc = "Upper Modulus Register"]
337pub mod umod;
338#[doc = "LMOD (rw) register accessor: Lower Modulus Register\n\nYou can [`read`](crate::Reg::read) this register and get [`lmod::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lmod::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@lmod`] module"]
339#[doc(alias = "LMOD")]
340pub type Lmod = crate::Reg<lmod::LmodSpec>;
341#[doc = "Lower Modulus Register"]
342pub mod lmod;
343#[doc = "UCOMP0 (rw) register accessor: Upper Position Compare Register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`ucomp0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucomp0::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@ucomp0`] module"]
344#[doc(alias = "UCOMP0")]
345pub type Ucomp0 = crate::Reg<ucomp0::Ucomp0Spec>;
346#[doc = "Upper Position Compare Register 0"]
347pub mod ucomp0;
348#[doc = "LCOMP0 (rw) register accessor: Lower Position Compare Register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`lcomp0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lcomp0::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@lcomp0`] module"]
349#[doc(alias = "LCOMP0")]
350pub type Lcomp0 = crate::Reg<lcomp0::Lcomp0Spec>;
351#[doc = "Lower Position Compare Register 0"]
352pub mod lcomp0;
353#[doc = "UCOMP1 (w) register accessor: Upper Position Compare 1\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucomp1::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ucomp1`] module"]
354#[doc(alias = "UCOMP1")]
355pub type Ucomp1 = crate::Reg<ucomp1::Ucomp1Spec>;
356#[doc = "Upper Position Compare 1"]
357pub mod ucomp1;
358#[doc = "UPOSH1 (r) register accessor: Upper Position Holder Register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`uposh1::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@uposh1`] module"]
359#[doc(alias = "UPOSH1")]
360pub type Uposh1 = crate::Reg<uposh1::Uposh1Spec>;
361#[doc = "Upper Position Holder Register 1"]
362pub mod uposh1;
363#[doc = "LCOMP1 (w) register accessor: Lower Position Compare 1\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lcomp1::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lcomp1`] module"]
364#[doc(alias = "LCOMP1")]
365pub type Lcomp1 = crate::Reg<lcomp1::Lcomp1Spec>;
366#[doc = "Lower Position Compare 1"]
367pub mod lcomp1;
368#[doc = "LPOSH1 (r) register accessor: Lower Position Holder Register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`lposh1::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lposh1`] module"]
369#[doc(alias = "LPOSH1")]
370pub type Lposh1 = crate::Reg<lposh1::Lposh1Spec>;
371#[doc = "Lower Position Holder Register 1"]
372pub mod lposh1;
373#[doc = "UCOMP2 (w) register accessor: Upper Position Compare 2\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucomp2::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ucomp2`] module"]
374#[doc(alias = "UCOMP2")]
375pub type Ucomp2 = crate::Reg<ucomp2::Ucomp2Spec>;
376#[doc = "Upper Position Compare 2"]
377pub mod ucomp2;
378#[doc = "UPOSH2 (r) register accessor: Upper Position Holder Register 3\n\nYou can [`read`](crate::Reg::read) this register and get [`uposh2::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@uposh2`] module"]
379#[doc(alias = "UPOSH2")]
380pub type Uposh2 = crate::Reg<uposh2::Uposh2Spec>;
381#[doc = "Upper Position Holder Register 3"]
382pub mod uposh2;
383#[doc = "LCOMP2 (w) register accessor: Lower Position Compare 2\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lcomp2::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lcomp2`] module"]
384#[doc(alias = "LCOMP2")]
385pub type Lcomp2 = crate::Reg<lcomp2::Lcomp2Spec>;
386#[doc = "Lower Position Compare 2"]
387pub mod lcomp2;
388#[doc = "LPOSH2 (r) register accessor: Lower Position Holder Register 2\n\nYou can [`read`](crate::Reg::read) this register and get [`lposh2::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lposh2`] module"]
389#[doc(alias = "LPOSH2")]
390pub type Lposh2 = crate::Reg<lposh2::Lposh2Spec>;
391#[doc = "Lower Position Holder Register 2"]
392pub mod lposh2;
393#[doc = "UCOMP3 (w) register accessor: Upper Position Compare 3\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ucomp3::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ucomp3`] module"]
394#[doc(alias = "UCOMP3")]
395pub type Ucomp3 = crate::Reg<ucomp3::Ucomp3Spec>;
396#[doc = "Upper Position Compare 3"]
397pub mod ucomp3;
398#[doc = "UPOSH3 (r) register accessor: Upper Position Holder Register 3\n\nYou can [`read`](crate::Reg::read) this register and get [`uposh3::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@uposh3`] module"]
399#[doc(alias = "UPOSH3")]
400pub type Uposh3 = crate::Reg<uposh3::Uposh3Spec>;
401#[doc = "Upper Position Holder Register 3"]
402pub mod uposh3;
403#[doc = "LCOMP3 (w) register accessor: Lower Position Compare 3\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`lcomp3::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lcomp3`] module"]
404#[doc(alias = "LCOMP3")]
405pub type Lcomp3 = crate::Reg<lcomp3::Lcomp3Spec>;
406#[doc = "Lower Position Compare 3"]
407pub mod lcomp3;
408#[doc = "LPOSH3 (r) register accessor: Lower Position Holder Register 3\n\nYou can [`read`](crate::Reg::read) this register and get [`lposh3::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lposh3`] module"]
409#[doc(alias = "LPOSH3")]
410pub type Lposh3 = crate::Reg<lposh3::Lposh3Spec>;
411#[doc = "Lower Position Holder Register 3"]
412pub mod lposh3;
413#[doc = "INTCTRL (rw) register accessor: Interrupt Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`intctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`intctrl::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@intctrl`] module"]
414#[doc(alias = "INTCTRL")]
415pub type Intctrl = crate::Reg<intctrl::IntctrlSpec>;
416#[doc = "Interrupt Control Register"]
417pub mod intctrl;
418#[doc = "WTR (rw) register accessor: Watchdog Timeout Register\n\nYou can [`read`](crate::Reg::read) this register and get [`wtr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wtr::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@wtr`] module"]
419#[doc(alias = "WTR")]
420pub type Wtr = crate::Reg<wtr::WtrSpec>;
421#[doc = "Watchdog Timeout Register"]
422pub mod wtr;
423#[doc = "IMR (rw) register accessor: Input Monitor Register\n\nYou can [`read`](crate::Reg::read) this register and get [`imr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`imr::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@imr`] module"]
424#[doc(alias = "IMR")]
425pub type Imr = crate::Reg<imr::ImrSpec>;
426#[doc = "Input Monitor Register"]
427pub mod imr;
428#[doc = "TST (rw) register accessor: Test Register\n\nYou can [`read`](crate::Reg::read) this register and get [`tst::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tst::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@tst`] module"]
429#[doc(alias = "TST")]
430pub type Tst = crate::Reg<tst::TstSpec>;
431#[doc = "Test Register"]
432pub mod tst;
433#[doc = "UVERID (r) register accessor: Upper VERID\n\nYou can [`read`](crate::Reg::read) this register and get [`uverid::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@uverid`] module"]
434#[doc(alias = "UVERID")]
435pub type Uverid = crate::Reg<uverid::UveridSpec>;
436#[doc = "Upper VERID"]
437pub mod uverid;
438#[doc = "LVERID (r) register accessor: Lower VERID\n\nYou can [`read`](crate::Reg::read) this register and get [`lverid::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lverid`] module"]
439#[doc(alias = "LVERID")]
440pub type Lverid = crate::Reg<lverid::LveridSpec>;
441#[doc = "Lower VERID"]
442pub mod lverid;