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