efm32tg11b_pac/efm32tg11b540/emu/
ien.rs1#[doc = "Register `IEN` reader"]
2pub struct R(crate::R<IEN_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<IEN_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<IEN_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<IEN_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `IEN` writer"]
17pub struct W(crate::W<IEN_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<IEN_SPEC>;
20 #[inline(always)]
21 fn deref(&self) -> &Self::Target {
22 &self.0
23 }
24}
25impl core::ops::DerefMut for W {
26 #[inline(always)]
27 fn deref_mut(&mut self) -> &mut Self::Target {
28 &mut self.0
29 }
30}
31impl From<crate::W<IEN_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<IEN_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `VMONAVDDFALL` reader - VMONAVDDFALL Interrupt Enable"]
38pub type VMONAVDDFALL_R = crate::BitReader<bool>;
39#[doc = "Field `VMONAVDDFALL` writer - VMONAVDDFALL Interrupt Enable"]
40pub type VMONAVDDFALL_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
41#[doc = "Field `VMONAVDDRISE` reader - VMONAVDDRISE Interrupt Enable"]
42pub type VMONAVDDRISE_R = crate::BitReader<bool>;
43#[doc = "Field `VMONAVDDRISE` writer - VMONAVDDRISE Interrupt Enable"]
44pub type VMONAVDDRISE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
45#[doc = "Field `VMONALTAVDDFALL` reader - VMONALTAVDDFALL Interrupt Enable"]
46pub type VMONALTAVDDFALL_R = crate::BitReader<bool>;
47#[doc = "Field `VMONALTAVDDFALL` writer - VMONALTAVDDFALL Interrupt Enable"]
48pub type VMONALTAVDDFALL_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
49#[doc = "Field `VMONALTAVDDRISE` reader - VMONALTAVDDRISE Interrupt Enable"]
50pub type VMONALTAVDDRISE_R = crate::BitReader<bool>;
51#[doc = "Field `VMONALTAVDDRISE` writer - VMONALTAVDDRISE Interrupt Enable"]
52pub type VMONALTAVDDRISE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
53#[doc = "Field `VMONDVDDFALL` reader - VMONDVDDFALL Interrupt Enable"]
54pub type VMONDVDDFALL_R = crate::BitReader<bool>;
55#[doc = "Field `VMONDVDDFALL` writer - VMONDVDDFALL Interrupt Enable"]
56pub type VMONDVDDFALL_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
57#[doc = "Field `VMONDVDDRISE` reader - VMONDVDDRISE Interrupt Enable"]
58pub type VMONDVDDRISE_R = crate::BitReader<bool>;
59#[doc = "Field `VMONDVDDRISE` writer - VMONDVDDRISE Interrupt Enable"]
60pub type VMONDVDDRISE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
61#[doc = "Field `VMONIO0FALL` reader - VMONIO0FALL Interrupt Enable"]
62pub type VMONIO0FALL_R = crate::BitReader<bool>;
63#[doc = "Field `VMONIO0FALL` writer - VMONIO0FALL Interrupt Enable"]
64pub type VMONIO0FALL_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
65#[doc = "Field `VMONIO0RISE` reader - VMONIO0RISE Interrupt Enable"]
66pub type VMONIO0RISE_R = crate::BitReader<bool>;
67#[doc = "Field `VMONIO0RISE` writer - VMONIO0RISE Interrupt Enable"]
68pub type VMONIO0RISE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
69#[doc = "Field `VMONBUVDDFALL` reader - VMONBUVDDFALL Interrupt Enable"]
70pub type VMONBUVDDFALL_R = crate::BitReader<bool>;
71#[doc = "Field `VMONBUVDDFALL` writer - VMONBUVDDFALL Interrupt Enable"]
72pub type VMONBUVDDFALL_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
73#[doc = "Field `VMONBUVDDRISE` reader - VMONBUVDDRISE Interrupt Enable"]
74pub type VMONBUVDDRISE_R = crate::BitReader<bool>;
75#[doc = "Field `VMONBUVDDRISE` writer - VMONBUVDDRISE Interrupt Enable"]
76pub type VMONBUVDDRISE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
77#[doc = "Field `VMONFVDDFALL` reader - VMONFVDDFALL Interrupt Enable"]
78pub type VMONFVDDFALL_R = crate::BitReader<bool>;
79#[doc = "Field `VMONFVDDFALL` writer - VMONFVDDFALL Interrupt Enable"]
80pub type VMONFVDDFALL_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
81#[doc = "Field `VMONFVDDRISE` reader - VMONFVDDRISE Interrupt Enable"]
82pub type VMONFVDDRISE_R = crate::BitReader<bool>;
83#[doc = "Field `VMONFVDDRISE` writer - VMONFVDDRISE Interrupt Enable"]
84pub type VMONFVDDRISE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
85#[doc = "Field `PFETOVERCURRENTLIMIT` reader - PFETOVERCURRENTLIMIT Interrupt Enable"]
86pub type PFETOVERCURRENTLIMIT_R = crate::BitReader<bool>;
87#[doc = "Field `PFETOVERCURRENTLIMIT` writer - PFETOVERCURRENTLIMIT Interrupt Enable"]
88pub type PFETOVERCURRENTLIMIT_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
89#[doc = "Field `NFETOVERCURRENTLIMIT` reader - NFETOVERCURRENTLIMIT Interrupt Enable"]
90pub type NFETOVERCURRENTLIMIT_R = crate::BitReader<bool>;
91#[doc = "Field `NFETOVERCURRENTLIMIT` writer - NFETOVERCURRENTLIMIT Interrupt Enable"]
92pub type NFETOVERCURRENTLIMIT_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
93#[doc = "Field `DCDCLPRUNNING` reader - DCDCLPRUNNING Interrupt Enable"]
94pub type DCDCLPRUNNING_R = crate::BitReader<bool>;
95#[doc = "Field `DCDCLPRUNNING` writer - DCDCLPRUNNING Interrupt Enable"]
96pub type DCDCLPRUNNING_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
97#[doc = "Field `DCDCLNRUNNING` reader - DCDCLNRUNNING Interrupt Enable"]
98pub type DCDCLNRUNNING_R = crate::BitReader<bool>;
99#[doc = "Field `DCDCLNRUNNING` writer - DCDCLNRUNNING Interrupt Enable"]
100pub type DCDCLNRUNNING_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
101#[doc = "Field `DCDCINBYPASS` reader - DCDCINBYPASS Interrupt Enable"]
102pub type DCDCINBYPASS_R = crate::BitReader<bool>;
103#[doc = "Field `DCDCINBYPASS` writer - DCDCINBYPASS Interrupt Enable"]
104pub type DCDCINBYPASS_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
105#[doc = "Field `BURDY` reader - BURDY Interrupt Enable"]
106pub type BURDY_R = crate::BitReader<bool>;
107#[doc = "Field `BURDY` writer - BURDY Interrupt Enable"]
108pub type BURDY_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
109#[doc = "Field `EM23WAKEUP` reader - EM23WAKEUP Interrupt Enable"]
110pub type EM23WAKEUP_R = crate::BitReader<bool>;
111#[doc = "Field `EM23WAKEUP` writer - EM23WAKEUP Interrupt Enable"]
112pub type EM23WAKEUP_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
113#[doc = "Field `VSCALEDONE` reader - VSCALEDONE Interrupt Enable"]
114pub type VSCALEDONE_R = crate::BitReader<bool>;
115#[doc = "Field `VSCALEDONE` writer - VSCALEDONE Interrupt Enable"]
116pub type VSCALEDONE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
117#[doc = "Field `TEMP` reader - TEMP Interrupt Enable"]
118pub type TEMP_R = crate::BitReader<bool>;
119#[doc = "Field `TEMP` writer - TEMP Interrupt Enable"]
120pub type TEMP_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
121#[doc = "Field `TEMPLOW` reader - TEMPLOW Interrupt Enable"]
122pub type TEMPLOW_R = crate::BitReader<bool>;
123#[doc = "Field `TEMPLOW` writer - TEMPLOW Interrupt Enable"]
124pub type TEMPLOW_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
125#[doc = "Field `TEMPHIGH` reader - TEMPHIGH Interrupt Enable"]
126pub type TEMPHIGH_R = crate::BitReader<bool>;
127#[doc = "Field `TEMPHIGH` writer - TEMPHIGH Interrupt Enable"]
128pub type TEMPHIGH_W<'a, const O: u8> = crate::BitWriter<'a, u32, IEN_SPEC, bool, O>;
129impl R {
130 #[doc = "Bit 0 - VMONAVDDFALL Interrupt Enable"]
131 #[inline(always)]
132 pub fn vmonavddfall(&self) -> VMONAVDDFALL_R {
133 VMONAVDDFALL_R::new((self.bits & 1) != 0)
134 }
135 #[doc = "Bit 1 - VMONAVDDRISE Interrupt Enable"]
136 #[inline(always)]
137 pub fn vmonavddrise(&self) -> VMONAVDDRISE_R {
138 VMONAVDDRISE_R::new(((self.bits >> 1) & 1) != 0)
139 }
140 #[doc = "Bit 2 - VMONALTAVDDFALL Interrupt Enable"]
141 #[inline(always)]
142 pub fn vmonaltavddfall(&self) -> VMONALTAVDDFALL_R {
143 VMONALTAVDDFALL_R::new(((self.bits >> 2) & 1) != 0)
144 }
145 #[doc = "Bit 3 - VMONALTAVDDRISE Interrupt Enable"]
146 #[inline(always)]
147 pub fn vmonaltavddrise(&self) -> VMONALTAVDDRISE_R {
148 VMONALTAVDDRISE_R::new(((self.bits >> 3) & 1) != 0)
149 }
150 #[doc = "Bit 4 - VMONDVDDFALL Interrupt Enable"]
151 #[inline(always)]
152 pub fn vmondvddfall(&self) -> VMONDVDDFALL_R {
153 VMONDVDDFALL_R::new(((self.bits >> 4) & 1) != 0)
154 }
155 #[doc = "Bit 5 - VMONDVDDRISE Interrupt Enable"]
156 #[inline(always)]
157 pub fn vmondvddrise(&self) -> VMONDVDDRISE_R {
158 VMONDVDDRISE_R::new(((self.bits >> 5) & 1) != 0)
159 }
160 #[doc = "Bit 6 - VMONIO0FALL Interrupt Enable"]
161 #[inline(always)]
162 pub fn vmonio0fall(&self) -> VMONIO0FALL_R {
163 VMONIO0FALL_R::new(((self.bits >> 6) & 1) != 0)
164 }
165 #[doc = "Bit 7 - VMONIO0RISE Interrupt Enable"]
166 #[inline(always)]
167 pub fn vmonio0rise(&self) -> VMONIO0RISE_R {
168 VMONIO0RISE_R::new(((self.bits >> 7) & 1) != 0)
169 }
170 #[doc = "Bit 12 - VMONBUVDDFALL Interrupt Enable"]
171 #[inline(always)]
172 pub fn vmonbuvddfall(&self) -> VMONBUVDDFALL_R {
173 VMONBUVDDFALL_R::new(((self.bits >> 12) & 1) != 0)
174 }
175 #[doc = "Bit 13 - VMONBUVDDRISE Interrupt Enable"]
176 #[inline(always)]
177 pub fn vmonbuvddrise(&self) -> VMONBUVDDRISE_R {
178 VMONBUVDDRISE_R::new(((self.bits >> 13) & 1) != 0)
179 }
180 #[doc = "Bit 14 - VMONFVDDFALL Interrupt Enable"]
181 #[inline(always)]
182 pub fn vmonfvddfall(&self) -> VMONFVDDFALL_R {
183 VMONFVDDFALL_R::new(((self.bits >> 14) & 1) != 0)
184 }
185 #[doc = "Bit 15 - VMONFVDDRISE Interrupt Enable"]
186 #[inline(always)]
187 pub fn vmonfvddrise(&self) -> VMONFVDDRISE_R {
188 VMONFVDDRISE_R::new(((self.bits >> 15) & 1) != 0)
189 }
190 #[doc = "Bit 16 - PFETOVERCURRENTLIMIT Interrupt Enable"]
191 #[inline(always)]
192 pub fn pfetovercurrentlimit(&self) -> PFETOVERCURRENTLIMIT_R {
193 PFETOVERCURRENTLIMIT_R::new(((self.bits >> 16) & 1) != 0)
194 }
195 #[doc = "Bit 17 - NFETOVERCURRENTLIMIT Interrupt Enable"]
196 #[inline(always)]
197 pub fn nfetovercurrentlimit(&self) -> NFETOVERCURRENTLIMIT_R {
198 NFETOVERCURRENTLIMIT_R::new(((self.bits >> 17) & 1) != 0)
199 }
200 #[doc = "Bit 18 - DCDCLPRUNNING Interrupt Enable"]
201 #[inline(always)]
202 pub fn dcdclprunning(&self) -> DCDCLPRUNNING_R {
203 DCDCLPRUNNING_R::new(((self.bits >> 18) & 1) != 0)
204 }
205 #[doc = "Bit 19 - DCDCLNRUNNING Interrupt Enable"]
206 #[inline(always)]
207 pub fn dcdclnrunning(&self) -> DCDCLNRUNNING_R {
208 DCDCLNRUNNING_R::new(((self.bits >> 19) & 1) != 0)
209 }
210 #[doc = "Bit 20 - DCDCINBYPASS Interrupt Enable"]
211 #[inline(always)]
212 pub fn dcdcinbypass(&self) -> DCDCINBYPASS_R {
213 DCDCINBYPASS_R::new(((self.bits >> 20) & 1) != 0)
214 }
215 #[doc = "Bit 22 - BURDY Interrupt Enable"]
216 #[inline(always)]
217 pub fn burdy(&self) -> BURDY_R {
218 BURDY_R::new(((self.bits >> 22) & 1) != 0)
219 }
220 #[doc = "Bit 24 - EM23WAKEUP Interrupt Enable"]
221 #[inline(always)]
222 pub fn em23wakeup(&self) -> EM23WAKEUP_R {
223 EM23WAKEUP_R::new(((self.bits >> 24) & 1) != 0)
224 }
225 #[doc = "Bit 25 - VSCALEDONE Interrupt Enable"]
226 #[inline(always)]
227 pub fn vscaledone(&self) -> VSCALEDONE_R {
228 VSCALEDONE_R::new(((self.bits >> 25) & 1) != 0)
229 }
230 #[doc = "Bit 29 - TEMP Interrupt Enable"]
231 #[inline(always)]
232 pub fn temp(&self) -> TEMP_R {
233 TEMP_R::new(((self.bits >> 29) & 1) != 0)
234 }
235 #[doc = "Bit 30 - TEMPLOW Interrupt Enable"]
236 #[inline(always)]
237 pub fn templow(&self) -> TEMPLOW_R {
238 TEMPLOW_R::new(((self.bits >> 30) & 1) != 0)
239 }
240 #[doc = "Bit 31 - TEMPHIGH Interrupt Enable"]
241 #[inline(always)]
242 pub fn temphigh(&self) -> TEMPHIGH_R {
243 TEMPHIGH_R::new(((self.bits >> 31) & 1) != 0)
244 }
245}
246impl W {
247 #[doc = "Bit 0 - VMONAVDDFALL Interrupt Enable"]
248 #[inline(always)]
249 #[must_use]
250 pub fn vmonavddfall(&mut self) -> VMONAVDDFALL_W<0> {
251 VMONAVDDFALL_W::new(self)
252 }
253 #[doc = "Bit 1 - VMONAVDDRISE Interrupt Enable"]
254 #[inline(always)]
255 #[must_use]
256 pub fn vmonavddrise(&mut self) -> VMONAVDDRISE_W<1> {
257 VMONAVDDRISE_W::new(self)
258 }
259 #[doc = "Bit 2 - VMONALTAVDDFALL Interrupt Enable"]
260 #[inline(always)]
261 #[must_use]
262 pub fn vmonaltavddfall(&mut self) -> VMONALTAVDDFALL_W<2> {
263 VMONALTAVDDFALL_W::new(self)
264 }
265 #[doc = "Bit 3 - VMONALTAVDDRISE Interrupt Enable"]
266 #[inline(always)]
267 #[must_use]
268 pub fn vmonaltavddrise(&mut self) -> VMONALTAVDDRISE_W<3> {
269 VMONALTAVDDRISE_W::new(self)
270 }
271 #[doc = "Bit 4 - VMONDVDDFALL Interrupt Enable"]
272 #[inline(always)]
273 #[must_use]
274 pub fn vmondvddfall(&mut self) -> VMONDVDDFALL_W<4> {
275 VMONDVDDFALL_W::new(self)
276 }
277 #[doc = "Bit 5 - VMONDVDDRISE Interrupt Enable"]
278 #[inline(always)]
279 #[must_use]
280 pub fn vmondvddrise(&mut self) -> VMONDVDDRISE_W<5> {
281 VMONDVDDRISE_W::new(self)
282 }
283 #[doc = "Bit 6 - VMONIO0FALL Interrupt Enable"]
284 #[inline(always)]
285 #[must_use]
286 pub fn vmonio0fall(&mut self) -> VMONIO0FALL_W<6> {
287 VMONIO0FALL_W::new(self)
288 }
289 #[doc = "Bit 7 - VMONIO0RISE Interrupt Enable"]
290 #[inline(always)]
291 #[must_use]
292 pub fn vmonio0rise(&mut self) -> VMONIO0RISE_W<7> {
293 VMONIO0RISE_W::new(self)
294 }
295 #[doc = "Bit 12 - VMONBUVDDFALL Interrupt Enable"]
296 #[inline(always)]
297 #[must_use]
298 pub fn vmonbuvddfall(&mut self) -> VMONBUVDDFALL_W<12> {
299 VMONBUVDDFALL_W::new(self)
300 }
301 #[doc = "Bit 13 - VMONBUVDDRISE Interrupt Enable"]
302 #[inline(always)]
303 #[must_use]
304 pub fn vmonbuvddrise(&mut self) -> VMONBUVDDRISE_W<13> {
305 VMONBUVDDRISE_W::new(self)
306 }
307 #[doc = "Bit 14 - VMONFVDDFALL Interrupt Enable"]
308 #[inline(always)]
309 #[must_use]
310 pub fn vmonfvddfall(&mut self) -> VMONFVDDFALL_W<14> {
311 VMONFVDDFALL_W::new(self)
312 }
313 #[doc = "Bit 15 - VMONFVDDRISE Interrupt Enable"]
314 #[inline(always)]
315 #[must_use]
316 pub fn vmonfvddrise(&mut self) -> VMONFVDDRISE_W<15> {
317 VMONFVDDRISE_W::new(self)
318 }
319 #[doc = "Bit 16 - PFETOVERCURRENTLIMIT Interrupt Enable"]
320 #[inline(always)]
321 #[must_use]
322 pub fn pfetovercurrentlimit(&mut self) -> PFETOVERCURRENTLIMIT_W<16> {
323 PFETOVERCURRENTLIMIT_W::new(self)
324 }
325 #[doc = "Bit 17 - NFETOVERCURRENTLIMIT Interrupt Enable"]
326 #[inline(always)]
327 #[must_use]
328 pub fn nfetovercurrentlimit(&mut self) -> NFETOVERCURRENTLIMIT_W<17> {
329 NFETOVERCURRENTLIMIT_W::new(self)
330 }
331 #[doc = "Bit 18 - DCDCLPRUNNING Interrupt Enable"]
332 #[inline(always)]
333 #[must_use]
334 pub fn dcdclprunning(&mut self) -> DCDCLPRUNNING_W<18> {
335 DCDCLPRUNNING_W::new(self)
336 }
337 #[doc = "Bit 19 - DCDCLNRUNNING Interrupt Enable"]
338 #[inline(always)]
339 #[must_use]
340 pub fn dcdclnrunning(&mut self) -> DCDCLNRUNNING_W<19> {
341 DCDCLNRUNNING_W::new(self)
342 }
343 #[doc = "Bit 20 - DCDCINBYPASS Interrupt Enable"]
344 #[inline(always)]
345 #[must_use]
346 pub fn dcdcinbypass(&mut self) -> DCDCINBYPASS_W<20> {
347 DCDCINBYPASS_W::new(self)
348 }
349 #[doc = "Bit 22 - BURDY Interrupt Enable"]
350 #[inline(always)]
351 #[must_use]
352 pub fn burdy(&mut self) -> BURDY_W<22> {
353 BURDY_W::new(self)
354 }
355 #[doc = "Bit 24 - EM23WAKEUP Interrupt Enable"]
356 #[inline(always)]
357 #[must_use]
358 pub fn em23wakeup(&mut self) -> EM23WAKEUP_W<24> {
359 EM23WAKEUP_W::new(self)
360 }
361 #[doc = "Bit 25 - VSCALEDONE Interrupt Enable"]
362 #[inline(always)]
363 #[must_use]
364 pub fn vscaledone(&mut self) -> VSCALEDONE_W<25> {
365 VSCALEDONE_W::new(self)
366 }
367 #[doc = "Bit 29 - TEMP Interrupt Enable"]
368 #[inline(always)]
369 #[must_use]
370 pub fn temp(&mut self) -> TEMP_W<29> {
371 TEMP_W::new(self)
372 }
373 #[doc = "Bit 30 - TEMPLOW Interrupt Enable"]
374 #[inline(always)]
375 #[must_use]
376 pub fn templow(&mut self) -> TEMPLOW_W<30> {
377 TEMPLOW_W::new(self)
378 }
379 #[doc = "Bit 31 - TEMPHIGH Interrupt Enable"]
380 #[inline(always)]
381 #[must_use]
382 pub fn temphigh(&mut self) -> TEMPHIGH_W<31> {
383 TEMPHIGH_W::new(self)
384 }
385 #[doc = "Writes raw bits to the register."]
386 #[inline(always)]
387 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
388 self.0.bits(bits);
389 self
390 }
391}
392#[doc = "Interrupt Enable Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ien](index.html) module"]
393pub struct IEN_SPEC;
394impl crate::RegisterSpec for IEN_SPEC {
395 type Ux = u32;
396}
397#[doc = "`read()` method returns [ien::R](R) reader structure"]
398impl crate::Readable for IEN_SPEC {
399 type Reader = R;
400}
401#[doc = "`write(|w| ..)` method takes [ien::W](W) writer structure"]
402impl crate::Writable for IEN_SPEC {
403 type Writer = W;
404 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
405 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
406}
407#[doc = "`reset()` method sets IEN to value 0"]
408impl crate::Resettable for IEN_SPEC {
409 const RESET_VALUE: Self::Ux = 0;
410}