1#[doc = "MODE2 Control A\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ctrla](ctrla) module"]
2pub type CTRLA = crate::Reg<u16, _CTRLA>;
3#[allow(missing_docs)]
4#[doc(hidden)]
5pub struct _CTRLA;
6#[doc = "`read()` method returns [ctrla::R](ctrla::R) reader structure"]
7impl crate::Readable for CTRLA {}
8#[doc = "`write(|w| ..)` method takes [ctrla::W](ctrla::W) writer structure"]
9impl crate::Writable for CTRLA {}
10#[doc = "MODE2 Control A"]
11pub mod ctrla;
12#[doc = "MODE2 Control B\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [ctrlb](ctrlb) module"]
13pub type CTRLB = crate::Reg<u16, _CTRLB>;
14#[allow(missing_docs)]
15#[doc(hidden)]
16pub struct _CTRLB;
17#[doc = "`read()` method returns [ctrlb::R](ctrlb::R) reader structure"]
18impl crate::Readable for CTRLB {}
19#[doc = "`write(|w| ..)` method takes [ctrlb::W](ctrlb::W) writer structure"]
20impl crate::Writable for CTRLB {}
21#[doc = "MODE2 Control B"]
22pub mod ctrlb;
23#[doc = "MODE2 Event Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [evctrl](evctrl) module"]
24pub type EVCTRL = crate::Reg<u32, _EVCTRL>;
25#[allow(missing_docs)]
26#[doc(hidden)]
27pub struct _EVCTRL;
28#[doc = "`read()` method returns [evctrl::R](evctrl::R) reader structure"]
29impl crate::Readable for EVCTRL {}
30#[doc = "`write(|w| ..)` method takes [evctrl::W](evctrl::W) writer structure"]
31impl crate::Writable for EVCTRL {}
32#[doc = "MODE2 Event Control"]
33pub mod evctrl;
34#[doc = "MODE2 Interrupt Enable Clear\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [intenclr](intenclr) module"]
35pub type INTENCLR = crate::Reg<u16, _INTENCLR>;
36#[allow(missing_docs)]
37#[doc(hidden)]
38pub struct _INTENCLR;
39#[doc = "`read()` method returns [intenclr::R](intenclr::R) reader structure"]
40impl crate::Readable for INTENCLR {}
41#[doc = "`write(|w| ..)` method takes [intenclr::W](intenclr::W) writer structure"]
42impl crate::Writable for INTENCLR {}
43#[doc = "MODE2 Interrupt Enable Clear"]
44pub mod intenclr;
45#[doc = "MODE2 Interrupt Enable Set\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [intenset](intenset) module"]
46pub type INTENSET = crate::Reg<u16, _INTENSET>;
47#[allow(missing_docs)]
48#[doc(hidden)]
49pub struct _INTENSET;
50#[doc = "`read()` method returns [intenset::R](intenset::R) reader structure"]
51impl crate::Readable for INTENSET {}
52#[doc = "`write(|w| ..)` method takes [intenset::W](intenset::W) writer structure"]
53impl crate::Writable for INTENSET {}
54#[doc = "MODE2 Interrupt Enable Set"]
55pub mod intenset;
56#[doc = "MODE2 Interrupt Flag Status and Clear\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [intflag](intflag) module"]
57pub type INTFLAG = crate::Reg<u16, _INTFLAG>;
58#[allow(missing_docs)]
59#[doc(hidden)]
60pub struct _INTFLAG;
61#[doc = "`read()` method returns [intflag::R](intflag::R) reader structure"]
62impl crate::Readable for INTFLAG {}
63#[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"]
64impl crate::Writable for INTFLAG {}
65#[doc = "MODE2 Interrupt Flag Status and Clear"]
66pub mod intflag;
67#[doc = "Debug Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [dbgctrl](dbgctrl) module"]
68pub type DBGCTRL = crate::Reg<u8, _DBGCTRL>;
69#[allow(missing_docs)]
70#[doc(hidden)]
71pub struct _DBGCTRL;
72#[doc = "`read()` method returns [dbgctrl::R](dbgctrl::R) reader structure"]
73impl crate::Readable for DBGCTRL {}
74#[doc = "`write(|w| ..)` method takes [dbgctrl::W](dbgctrl::W) writer structure"]
75impl crate::Writable for DBGCTRL {}
76#[doc = "Debug Control"]
77pub mod dbgctrl;
78#[doc = "MODE2 Synchronization Busy Status\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [syncbusy](syncbusy) module"]
79pub type SYNCBUSY = crate::Reg<u32, _SYNCBUSY>;
80#[allow(missing_docs)]
81#[doc(hidden)]
82pub struct _SYNCBUSY;
83#[doc = "`read()` method returns [syncbusy::R](syncbusy::R) reader structure"]
84impl crate::Readable for SYNCBUSY {}
85#[doc = "MODE2 Synchronization Busy Status"]
86pub mod syncbusy;
87#[doc = "Frequency Correction\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [freqcorr](freqcorr) module"]
88pub type FREQCORR = crate::Reg<u8, _FREQCORR>;
89#[allow(missing_docs)]
90#[doc(hidden)]
91pub struct _FREQCORR;
92#[doc = "`read()` method returns [freqcorr::R](freqcorr::R) reader structure"]
93impl crate::Readable for FREQCORR {}
94#[doc = "`write(|w| ..)` method takes [freqcorr::W](freqcorr::W) writer structure"]
95impl crate::Writable for FREQCORR {}
96#[doc = "Frequency Correction"]
97pub mod freqcorr;
98#[doc = "MODE2 Clock Value\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [clock](clock) module"]
99pub type CLOCK = crate::Reg<u32, _CLOCK>;
100#[allow(missing_docs)]
101#[doc(hidden)]
102pub struct _CLOCK;
103#[doc = "`read()` method returns [clock::R](clock::R) reader structure"]
104impl crate::Readable for CLOCK {}
105#[doc = "`write(|w| ..)` method takes [clock::W](clock::W) writer structure"]
106impl crate::Writable for CLOCK {}
107#[doc = "MODE2 Clock Value"]
108pub mod clock;
109#[doc = "General Purpose\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [gp](gp) module"]
110pub type GP = crate::Reg<u32, _GP>;
111#[allow(missing_docs)]
112#[doc(hidden)]
113pub struct _GP;
114#[doc = "`read()` method returns [gp::R](gp::R) reader structure"]
115impl crate::Readable for GP {}
116#[doc = "`write(|w| ..)` method takes [gp::W](gp::W) writer structure"]
117impl crate::Writable for GP {}
118#[doc = "General Purpose"]
119pub mod gp;
120#[doc = "Tamper Control\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [tampctrl](tampctrl) module"]
121pub type TAMPCTRL = crate::Reg<u32, _TAMPCTRL>;
122#[allow(missing_docs)]
123#[doc(hidden)]
124pub struct _TAMPCTRL;
125#[doc = "`read()` method returns [tampctrl::R](tampctrl::R) reader structure"]
126impl crate::Readable for TAMPCTRL {}
127#[doc = "`write(|w| ..)` method takes [tampctrl::W](tampctrl::W) writer structure"]
128impl crate::Writable for TAMPCTRL {}
129#[doc = "Tamper Control"]
130pub mod tampctrl;
131#[doc = "MODE2 Timestamp\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [timestamp](timestamp) module"]
132pub type TIMESTAMP = crate::Reg<u32, _TIMESTAMP>;
133#[allow(missing_docs)]
134#[doc(hidden)]
135pub struct _TIMESTAMP;
136#[doc = "`read()` method returns [timestamp::R](timestamp::R) reader structure"]
137impl crate::Readable for TIMESTAMP {}
138#[doc = "MODE2 Timestamp"]
139pub mod timestamp;
140#[doc = "Tamper ID\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [tampid](tampid) module"]
141pub type TAMPID = crate::Reg<u32, _TAMPID>;
142#[allow(missing_docs)]
143#[doc(hidden)]
144pub struct _TAMPID;
145#[doc = "`read()` method returns [tampid::R](tampid::R) reader structure"]
146impl crate::Readable for TAMPID {}
147#[doc = "`write(|w| ..)` method takes [tampid::W](tampid::W) writer structure"]
148impl crate::Writable for TAMPID {}
149#[doc = "Tamper ID"]
150pub mod tampid;
151#[doc = "Tamper Control B\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [tampctrlb](tampctrlb) module"]
152pub type TAMPCTRLB = crate::Reg<u32, _TAMPCTRLB>;
153#[allow(missing_docs)]
154#[doc(hidden)]
155pub struct _TAMPCTRLB;
156#[doc = "`read()` method returns [tampctrlb::R](tampctrlb::R) reader structure"]
157impl crate::Readable for TAMPCTRLB {}
158#[doc = "`write(|w| ..)` method takes [tampctrlb::W](tampctrlb::W) writer structure"]
159impl crate::Writable for TAMPCTRLB {}
160#[doc = "Tamper Control B"]
161pub mod tampctrlb;
162#[doc = r"Register block"]
163#[repr(C)]
164pub struct MODE2_ALARM {
165 #[doc = "0x00 - MODE2_ALARM Alarm n Value"]
166 pub alarm: self::mode2_alarm::ALARM,
167 #[doc = "0x04 - MODE2_ALARM Alarm n Mask"]
168 pub mask: self::mode2_alarm::MASK,
169}
170#[doc = r"Register block"]
171#[doc = "-"]
172pub mod mode2_alarm;