corstone300_pac/syscontrol/
secdbgclr.rs

1// Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
2//
3// SPDX-License-Identifier: MIT
4
5#[doc = "Register `SECDBGCLR` writer"]
6pub struct W(crate::W<SECDBGCLR_SPEC>);
7impl core::ops::Deref for W {
8    type Target = crate::W<SECDBGCLR_SPEC>;
9    #[inline(always)]
10    fn deref(&self) -> &Self::Target {
11        &self.0
12    }
13}
14impl core::ops::DerefMut for W {
15    #[inline(always)]
16    fn deref_mut(&mut self) -> &mut Self::Target {
17        &mut self.0
18    }
19}
20impl From<crate::W<SECDBGCLR_SPEC>> for W {
21    #[inline(always)]
22    fn from(writer: crate::W<SECDBGCLR_SPEC>) -> Self {
23        W(writer)
24    }
25}
26#[doc = "Debug enable clear control\n\nValue on reset: 0"]
27#[derive(Clone, Copy, Debug, PartialEq, Eq)]
28pub enum DBGEN_I_CLR_AW {
29    #[doc = "1: debug enable clear control"]
30    ENABLE = 1,
31    #[doc = "0: debug disable clear control"]
32    DISABLE = 0,
33}
34impl From<DBGEN_I_CLR_AW> for bool {
35    #[inline(always)]
36    fn from(variant: DBGEN_I_CLR_AW) -> Self {
37        variant as u8 != 0
38    }
39}
40#[doc = "Field `DBGEN_I_CLR` writer - Debug enable clear control"]
41pub type DBGEN_I_CLR_W<'a, const O: u8> =
42    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, DBGEN_I_CLR_AW, O>;
43impl<'a, const O: u8> DBGEN_I_CLR_W<'a, O> {
44    #[doc = "debug enable clear control"]
45    #[inline(always)]
46    pub fn enable(self) -> &'a mut W {
47        self.variant(DBGEN_I_CLR_AW::ENABLE)
48    }
49    #[doc = "debug disable clear control"]
50    #[inline(always)]
51    pub fn disable(self) -> &'a mut W {
52        self.variant(DBGEN_I_CLR_AW::DISABLE)
53    }
54}
55#[doc = "Debug enable selector clear control\n\nValue on reset: 0"]
56#[derive(Clone, Copy, Debug, PartialEq, Eq)]
57pub enum DBGEN_SEL_CLR_AW {
58    #[doc = "1: debug enable selector clear control"]
59    ENABLE = 1,
60    #[doc = "0: debug disable selector clear control"]
61    DISABLE = 0,
62}
63impl From<DBGEN_SEL_CLR_AW> for bool {
64    #[inline(always)]
65    fn from(variant: DBGEN_SEL_CLR_AW) -> Self {
66        variant as u8 != 0
67    }
68}
69#[doc = "Field `DBGEN_SEL_CLR` writer - Debug enable selector clear control"]
70pub type DBGEN_SEL_CLR_W<'a, const O: u8> =
71    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, DBGEN_SEL_CLR_AW, O>;
72impl<'a, const O: u8> DBGEN_SEL_CLR_W<'a, O> {
73    #[doc = "debug enable selector clear control"]
74    #[inline(always)]
75    pub fn enable(self) -> &'a mut W {
76        self.variant(DBGEN_SEL_CLR_AW::ENABLE)
77    }
78    #[doc = "debug disable selector clear control"]
79    #[inline(always)]
80    pub fn disable(self) -> &'a mut W {
81        self.variant(DBGEN_SEL_CLR_AW::DISABLE)
82    }
83}
84#[doc = "Non-invasive debug enable clear control\n\nValue on reset: 0"]
85#[derive(Clone, Copy, Debug, PartialEq, Eq)]
86pub enum NIDEN_I_CLR_AW {
87    #[doc = "1: non-invasive debug enable clear control"]
88    ENABLE = 1,
89    #[doc = "0: non-invasive debug disable clear control"]
90    DISABLE = 0,
91}
92impl From<NIDEN_I_CLR_AW> for bool {
93    #[inline(always)]
94    fn from(variant: NIDEN_I_CLR_AW) -> Self {
95        variant as u8 != 0
96    }
97}
98#[doc = "Field `NIDEN_I_CLR` writer - Non-invasive debug enable clear control"]
99pub type NIDEN_I_CLR_W<'a, const O: u8> =
100    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, NIDEN_I_CLR_AW, O>;
101impl<'a, const O: u8> NIDEN_I_CLR_W<'a, O> {
102    #[doc = "non-invasive debug enable clear control"]
103    #[inline(always)]
104    pub fn enable(self) -> &'a mut W {
105        self.variant(NIDEN_I_CLR_AW::ENABLE)
106    }
107    #[doc = "non-invasive debug disable clear control"]
108    #[inline(always)]
109    pub fn disable(self) -> &'a mut W {
110        self.variant(NIDEN_I_CLR_AW::DISABLE)
111    }
112}
113#[doc = "Non-invasive debug enable selector clear control\n\nValue on reset: 0"]
114#[derive(Clone, Copy, Debug, PartialEq, Eq)]
115pub enum NIDEN_SEL_CLR_AW {
116    #[doc = "1: non-invasive debug enable selector clear control"]
117    ENABLE = 1,
118    #[doc = "0: non-invasive debug disable selector clear control"]
119    DISABLE = 0,
120}
121impl From<NIDEN_SEL_CLR_AW> for bool {
122    #[inline(always)]
123    fn from(variant: NIDEN_SEL_CLR_AW) -> Self {
124        variant as u8 != 0
125    }
126}
127#[doc = "Field `NIDEN_SEL_CLR` writer - Non-invasive debug enable selector clear control"]
128pub type NIDEN_SEL_CLR_W<'a, const O: u8> =
129    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, NIDEN_SEL_CLR_AW, O>;
130impl<'a, const O: u8> NIDEN_SEL_CLR_W<'a, O> {
131    #[doc = "non-invasive debug enable selector clear control"]
132    #[inline(always)]
133    pub fn enable(self) -> &'a mut W {
134        self.variant(NIDEN_SEL_CLR_AW::ENABLE)
135    }
136    #[doc = "non-invasive debug disable selector clear control"]
137    #[inline(always)]
138    pub fn disable(self) -> &'a mut W {
139        self.variant(NIDEN_SEL_CLR_AW::DISABLE)
140    }
141}
142#[doc = "Secure privilege invasive debug enable clear control\n\nValue on reset: 0"]
143#[derive(Clone, Copy, Debug, PartialEq, Eq)]
144pub enum SPIDEN_I_CLR_AW {
145    #[doc = "1: Secure privilege invasive debug enable clear control"]
146    ENABLE = 1,
147    #[doc = "0: Secure privilege invasive debug disable clear control"]
148    DISABLE = 0,
149}
150impl From<SPIDEN_I_CLR_AW> for bool {
151    #[inline(always)]
152    fn from(variant: SPIDEN_I_CLR_AW) -> Self {
153        variant as u8 != 0
154    }
155}
156#[doc = "Field `SPIDEN_I_CLR` writer - Secure privilege invasive debug enable clear control"]
157pub type SPIDEN_I_CLR_W<'a, const O: u8> =
158    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, SPIDEN_I_CLR_AW, O>;
159impl<'a, const O: u8> SPIDEN_I_CLR_W<'a, O> {
160    #[doc = "Secure privilege invasive debug enable clear control"]
161    #[inline(always)]
162    pub fn enable(self) -> &'a mut W {
163        self.variant(SPIDEN_I_CLR_AW::ENABLE)
164    }
165    #[doc = "Secure privilege invasive debug disable clear control"]
166    #[inline(always)]
167    pub fn disable(self) -> &'a mut W {
168        self.variant(SPIDEN_I_CLR_AW::DISABLE)
169    }
170}
171#[doc = "Secure privilege invasive debug enable selector clear control\n\nValue on reset: 0"]
172#[derive(Clone, Copy, Debug, PartialEq, Eq)]
173pub enum SPIDEN_SEL_CLR_AW {
174    #[doc = "1: Secure privilege invasive debug enable selector clear control"]
175    ENABLE = 1,
176    #[doc = "0: Secure privilege invasive debug disable selector clear control"]
177    DISABLE = 0,
178}
179impl From<SPIDEN_SEL_CLR_AW> for bool {
180    #[inline(always)]
181    fn from(variant: SPIDEN_SEL_CLR_AW) -> Self {
182        variant as u8 != 0
183    }
184}
185#[doc = "Field `SPIDEN_SEL_CLR` writer - Secure privilege invasive debug enable selector clear control"]
186pub type SPIDEN_SEL_CLR_W<'a, const O: u8> =
187    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, SPIDEN_SEL_CLR_AW, O>;
188impl<'a, const O: u8> SPIDEN_SEL_CLR_W<'a, O> {
189    #[doc = "Secure privilege invasive debug enable selector clear control"]
190    #[inline(always)]
191    pub fn enable(self) -> &'a mut W {
192        self.variant(SPIDEN_SEL_CLR_AW::ENABLE)
193    }
194    #[doc = "Secure privilege invasive debug disable selector clear control"]
195    #[inline(always)]
196    pub fn disable(self) -> &'a mut W {
197        self.variant(SPIDEN_SEL_CLR_AW::DISABLE)
198    }
199}
200#[doc = "Secure privilege non-invasive debug enable clear control\n\nValue on reset: 0"]
201#[derive(Clone, Copy, Debug, PartialEq, Eq)]
202pub enum SPNIDEN_I_CLR_AW {
203    #[doc = "1: Secure privilege non-invasive debug enable clear control"]
204    ENABLE = 1,
205    #[doc = "0: Secure privilege non-invasive debug disable clear control"]
206    DISABLE = 0,
207}
208impl From<SPNIDEN_I_CLR_AW> for bool {
209    #[inline(always)]
210    fn from(variant: SPNIDEN_I_CLR_AW) -> Self {
211        variant as u8 != 0
212    }
213}
214#[doc = "Field `SPNIDEN_I_CLR` writer - Secure privilege non-invasive debug enable clear control"]
215pub type SPNIDEN_I_CLR_W<'a, const O: u8> =
216    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, SPNIDEN_I_CLR_AW, O>;
217impl<'a, const O: u8> SPNIDEN_I_CLR_W<'a, O> {
218    #[doc = "Secure privilege non-invasive debug enable clear control"]
219    #[inline(always)]
220    pub fn enable(self) -> &'a mut W {
221        self.variant(SPNIDEN_I_CLR_AW::ENABLE)
222    }
223    #[doc = "Secure privilege non-invasive debug disable clear control"]
224    #[inline(always)]
225    pub fn disable(self) -> &'a mut W {
226        self.variant(SPNIDEN_I_CLR_AW::DISABLE)
227    }
228}
229#[doc = "Secure privilege non-invasive debug enable selector clear control\n\nValue on reset: 0"]
230#[derive(Clone, Copy, Debug, PartialEq, Eq)]
231pub enum SPNIDEN_SEL_CLR_AW {
232    #[doc = "1: Secure privilege non-invasive debug enable selector clear control"]
233    ENABLE = 1,
234    #[doc = "0: Secure privilege non-invasive debug disable selector clear control"]
235    DISABLE = 0,
236}
237impl From<SPNIDEN_SEL_CLR_AW> for bool {
238    #[inline(always)]
239    fn from(variant: SPNIDEN_SEL_CLR_AW) -> Self {
240        variant as u8 != 0
241    }
242}
243#[doc = "Field `SPNIDEN_SEL_CLR` writer - Secure privilege non-invasive debug enable selector clear control"]
244pub type SPNIDEN_SEL_CLR_W<'a, const O: u8> =
245    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, SPNIDEN_SEL_CLR_AW, O>;
246impl<'a, const O: u8> SPNIDEN_SEL_CLR_W<'a, O> {
247    #[doc = "Secure privilege non-invasive debug enable selector clear control"]
248    #[inline(always)]
249    pub fn enable(self) -> &'a mut W {
250        self.variant(SPNIDEN_SEL_CLR_AW::ENABLE)
251    }
252    #[doc = "Secure privilege non-invasive debug disable selector clear control"]
253    #[inline(always)]
254    pub fn disable(self) -> &'a mut W {
255        self.variant(SPNIDEN_SEL_CLR_AW::DISABLE)
256    }
257}
258#[doc = "Clear internal version of Active High DAP Access Enable. Write HIGH to clear DAPACCEN_I. When read returns DAPACCEN_I. RAZWI if DAPACCENSELDIS = 1.\n\nValue on reset: 0"]
259#[derive(Clone, Copy, Debug, PartialEq, Eq)]
260pub enum DAPACCEN_I_CLR_AW {
261    #[doc = "1: Secure privilege non-invasive debug enable selector"]
262    ENABLE = 1,
263    #[doc = "0: Secure privilege non-invasive debug disable selector"]
264    DISABLE = 0,
265}
266impl From<DAPACCEN_I_CLR_AW> for bool {
267    #[inline(always)]
268    fn from(variant: DAPACCEN_I_CLR_AW) -> Self {
269        variant as u8 != 0
270    }
271}
272#[doc = "Field `DAPACCEN_I_CLR` writer - Clear internal version of Active High DAP Access Enable. Write HIGH to clear DAPACCEN_I. When read returns DAPACCEN_I. RAZWI if DAPACCENSELDIS = 1."]
273pub type DAPACCEN_I_CLR_W<'a, const O: u8> =
274    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, DAPACCEN_I_CLR_AW, O>;
275impl<'a, const O: u8> DAPACCEN_I_CLR_W<'a, O> {
276    #[doc = "Secure privilege non-invasive debug enable selector"]
277    #[inline(always)]
278    pub fn enable(self) -> &'a mut W {
279        self.variant(DAPACCEN_I_CLR_AW::ENABLE)
280    }
281    #[doc = "Secure privilege non-invasive debug disable selector"]
282    #[inline(always)]
283    pub fn disable(self) -> &'a mut W {
284        self.variant(DAPACCEN_I_CLR_AW::DISABLE)
285    }
286}
287#[doc = "Clear Active High DAP Access Enable Selector. Write HIGH to clear DAPACCEN_SEL. RAZWI if DAPACCENSELDIS = 1.\n\nValue on reset: 0"]
288#[derive(Clone, Copy, Debug, PartialEq, Eq)]
289pub enum DAPACCEN_SEL_CLR_AW {
290    #[doc = "1: Secure privilege non-invasive debug enable selector"]
291    ENABLE = 1,
292    #[doc = "0: Secure privilege non-invasive debug disable selector"]
293    DISABLE = 0,
294}
295impl From<DAPACCEN_SEL_CLR_AW> for bool {
296    #[inline(always)]
297    fn from(variant: DAPACCEN_SEL_CLR_AW) -> Self {
298        variant as u8 != 0
299    }
300}
301#[doc = "Field `DAPACCEN_SEL_CLR` writer - Clear Active High DAP Access Enable Selector. Write HIGH to clear DAPACCEN_SEL. RAZWI if DAPACCENSELDIS = 1."]
302pub type DAPACCEN_SEL_CLR_W<'a, const O: u8> =
303    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, DAPACCEN_SEL_CLR_AW, O>;
304impl<'a, const O: u8> DAPACCEN_SEL_CLR_W<'a, O> {
305    #[doc = "Secure privilege non-invasive debug enable selector"]
306    #[inline(always)]
307    pub fn enable(self) -> &'a mut W {
308        self.variant(DAPACCEN_SEL_CLR_AW::ENABLE)
309    }
310    #[doc = "Secure privilege non-invasive debug disable selector"]
311    #[inline(always)]
312    pub fn disable(self) -> &'a mut W {
313        self.variant(DAPACCEN_SEL_CLR_AW::DISABLE)
314    }
315}
316#[doc = "Clears internal version of Active High DAP to Debug Subsystem Access Enable. Write HIGH to clear DAPDSSACCEN_I. Always RAZ. WI if DAPDSSACCENSELDIS = 1.\n\nValue on reset: 0"]
317#[derive(Clone, Copy, Debug, PartialEq, Eq)]
318pub enum DAPDSSACCEN_I_CLR_AW {
319    #[doc = "1: Secure privilege non-invasive debug enable selector"]
320    ENABLE = 1,
321    #[doc = "0: Secure privilege non-invasive debug disable selector"]
322    DISABLE = 0,
323}
324impl From<DAPDSSACCEN_I_CLR_AW> for bool {
325    #[inline(always)]
326    fn from(variant: DAPDSSACCEN_I_CLR_AW) -> Self {
327        variant as u8 != 0
328    }
329}
330#[doc = "Field `DAPDSSACCEN_I_CLR` writer - Clears internal version of Active High DAP to Debug Subsystem Access Enable. Write HIGH to clear DAPDSSACCEN_I. Always RAZ. WI if DAPDSSACCENSELDIS = 1."]
331pub type DAPDSSACCEN_I_CLR_W<'a, const O: u8> =
332    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, DAPDSSACCEN_I_CLR_AW, O>;
333impl<'a, const O: u8> DAPDSSACCEN_I_CLR_W<'a, O> {
334    #[doc = "Secure privilege non-invasive debug enable selector"]
335    #[inline(always)]
336    pub fn enable(self) -> &'a mut W {
337        self.variant(DAPDSSACCEN_I_CLR_AW::ENABLE)
338    }
339    #[doc = "Secure privilege non-invasive debug disable selector"]
340    #[inline(always)]
341    pub fn disable(self) -> &'a mut W {
342        self.variant(DAPDSSACCEN_I_CLR_AW::DISABLE)
343    }
344}
345#[doc = "Clear Active High DAP to Debug Subsystem Access Enable Selector. Write HIGH to clear DAPDSSACCEN_SEL. RAZWI if DAPDSSACCENSELDIS = 1.\n\nValue on reset: 0"]
346#[derive(Clone, Copy, Debug, PartialEq, Eq)]
347pub enum DAPDSSACCEN_SEL_CLR_AW {
348    #[doc = "1: Secure privilege non-invasive debug enable selector"]
349    ENABLE = 1,
350    #[doc = "0: Secure privilege non-invasive debug disable selector"]
351    DISABLE = 0,
352}
353impl From<DAPDSSACCEN_SEL_CLR_AW> for bool {
354    #[inline(always)]
355    fn from(variant: DAPDSSACCEN_SEL_CLR_AW) -> Self {
356        variant as u8 != 0
357    }
358}
359#[doc = "Field `DAPDSSACCEN_SEL_CLR` writer - Clear Active High DAP to Debug Subsystem Access Enable Selector. Write HIGH to clear DAPDSSACCEN_SEL. RAZWI if DAPDSSACCENSELDIS = 1."]
360pub type DAPDSSACCEN_SEL_CLR_W<'a, const O: u8> =
361    crate::BitWriter<'a, u32, SECDBGCLR_SPEC, DAPDSSACCEN_SEL_CLR_AW, O>;
362impl<'a, const O: u8> DAPDSSACCEN_SEL_CLR_W<'a, O> {
363    #[doc = "Secure privilege non-invasive debug enable selector"]
364    #[inline(always)]
365    pub fn enable(self) -> &'a mut W {
366        self.variant(DAPDSSACCEN_SEL_CLR_AW::ENABLE)
367    }
368    #[doc = "Secure privilege non-invasive debug disable selector"]
369    #[inline(always)]
370    pub fn disable(self) -> &'a mut W {
371        self.variant(DAPDSSACCEN_SEL_CLR_AW::DISABLE)
372    }
373}
374impl W {
375    #[doc = "Bit 0 - Debug enable clear control"]
376    #[inline(always)]
377    pub fn dbgen_i_clr(&mut self) -> DBGEN_I_CLR_W<0> {
378        DBGEN_I_CLR_W::new(self)
379    }
380    #[doc = "Bit 1 - Debug enable selector clear control"]
381    #[inline(always)]
382    pub fn dbgen_sel_clr(&mut self) -> DBGEN_SEL_CLR_W<1> {
383        DBGEN_SEL_CLR_W::new(self)
384    }
385    #[doc = "Bit 2 - Non-invasive debug enable clear control"]
386    #[inline(always)]
387    pub fn niden_i_clr(&mut self) -> NIDEN_I_CLR_W<2> {
388        NIDEN_I_CLR_W::new(self)
389    }
390    #[doc = "Bit 3 - Non-invasive debug enable selector clear control"]
391    #[inline(always)]
392    pub fn niden_sel_clr(&mut self) -> NIDEN_SEL_CLR_W<3> {
393        NIDEN_SEL_CLR_W::new(self)
394    }
395    #[doc = "Bit 4 - Secure privilege invasive debug enable clear control"]
396    #[inline(always)]
397    pub fn spiden_i_clr(&mut self) -> SPIDEN_I_CLR_W<4> {
398        SPIDEN_I_CLR_W::new(self)
399    }
400    #[doc = "Bit 5 - Secure privilege invasive debug enable selector clear control"]
401    #[inline(always)]
402    pub fn spiden_sel_clr(&mut self) -> SPIDEN_SEL_CLR_W<5> {
403        SPIDEN_SEL_CLR_W::new(self)
404    }
405    #[doc = "Bit 6 - Secure privilege non-invasive debug enable clear control"]
406    #[inline(always)]
407    pub fn spniden_i_clr(&mut self) -> SPNIDEN_I_CLR_W<6> {
408        SPNIDEN_I_CLR_W::new(self)
409    }
410    #[doc = "Bit 7 - Secure privilege non-invasive debug enable selector clear control"]
411    #[inline(always)]
412    pub fn spniden_sel_clr(&mut self) -> SPNIDEN_SEL_CLR_W<7> {
413        SPNIDEN_SEL_CLR_W::new(self)
414    }
415    #[doc = "Bit 8 - Clear internal version of Active High DAP Access Enable. Write HIGH to clear DAPACCEN_I. When read returns DAPACCEN_I. RAZWI if DAPACCENSELDIS = 1."]
416    #[inline(always)]
417    pub fn dapaccen_i_clr(&mut self) -> DAPACCEN_I_CLR_W<8> {
418        DAPACCEN_I_CLR_W::new(self)
419    }
420    #[doc = "Bit 9 - Clear Active High DAP Access Enable Selector. Write HIGH to clear DAPACCEN_SEL. RAZWI if DAPACCENSELDIS = 1."]
421    #[inline(always)]
422    pub fn dapaccen_sel_clr(&mut self) -> DAPACCEN_SEL_CLR_W<9> {
423        DAPACCEN_SEL_CLR_W::new(self)
424    }
425    #[doc = "Bit 10 - Clears internal version of Active High DAP to Debug Subsystem Access Enable. Write HIGH to clear DAPDSSACCEN_I. Always RAZ. WI if DAPDSSACCENSELDIS = 1."]
426    #[inline(always)]
427    pub fn dapdssaccen_i_clr(&mut self) -> DAPDSSACCEN_I_CLR_W<10> {
428        DAPDSSACCEN_I_CLR_W::new(self)
429    }
430    #[doc = "Bit 11 - Clear Active High DAP to Debug Subsystem Access Enable Selector. Write HIGH to clear DAPDSSACCEN_SEL. RAZWI if DAPDSSACCENSELDIS = 1."]
431    #[inline(always)]
432    pub fn dapdssaccen_sel_clr(&mut self) -> DAPDSSACCEN_SEL_CLR_W<11> {
433        DAPDSSACCEN_SEL_CLR_W::new(self)
434    }
435    #[doc = "Writes raw bits to the register."]
436    #[inline(always)]
437    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
438        self.0.bits(bits);
439        self
440    }
441}
442#[doc = "Secure Debug Configuration Clear\n\nThis register you can [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [secdbgclr](index.html) module"]
443pub struct SECDBGCLR_SPEC;
444impl crate::RegisterSpec for SECDBGCLR_SPEC {
445    type Ux = u32;
446}
447#[doc = "`write(|w| ..)` method takes [secdbgclr::W](W) writer structure"]
448impl crate::Writable for SECDBGCLR_SPEC {
449    type Writer = W;
450}
451#[doc = "`reset()` method sets SECDBGCLR to value 0"]
452impl crate::Resettable for SECDBGCLR_SPEC {
453    #[inline(always)]
454    fn reset_value() -> Self::Ux {
455        0
456    }
457}