esp32s2/rtc_cntl/
dig_iso.rs

1#[doc = "Register `DIG_ISO` reader"]
2pub type R = crate::R<DIG_ISO_SPEC>;
3#[doc = "Register `DIG_ISO` writer"]
4pub type W = crate::W<DIG_ISO_SPEC>;
5#[doc = "Field `FORCE_OFF` reader - "]
6pub type FORCE_OFF_R = crate::BitReader;
7#[doc = "Field `FORCE_OFF` writer - "]
8pub type FORCE_OFF_W<'a, REG> = crate::BitWriter<'a, REG>;
9#[doc = "Field `FORCE_ON` reader - "]
10pub type FORCE_ON_R = crate::BitReader;
11#[doc = "Field `FORCE_ON` writer - "]
12pub type FORCE_ON_W<'a, REG> = crate::BitWriter<'a, REG>;
13#[doc = "Field `DG_PAD_AUTOHOLD` reader - Indicates the auto-hold status of the digital GPIOs."]
14pub type DG_PAD_AUTOHOLD_R = crate::BitReader;
15#[doc = "Field `CLR_DG_PAD_AUTOHOLD` writer - Se this bit to clear the auto-hold enabler for the digital GPIOs."]
16pub type CLR_DG_PAD_AUTOHOLD_W<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `DG_PAD_AUTOHOLD_EN` reader - Se this bit to allow the digital GPIOs to enter the autohold status."]
18pub type DG_PAD_AUTOHOLD_EN_R = crate::BitReader;
19#[doc = "Field `DG_PAD_AUTOHOLD_EN` writer - Se this bit to allow the digital GPIOs to enter the autohold status."]
20pub type DG_PAD_AUTOHOLD_EN_W<'a, REG> = crate::BitWriter<'a, REG>;
21#[doc = "Field `DG_PAD_FORCE_NOISO` reader - Set this bit to disable the force isolation to the digital GPIOs."]
22pub type DG_PAD_FORCE_NOISO_R = crate::BitReader;
23#[doc = "Field `DG_PAD_FORCE_NOISO` writer - Set this bit to disable the force isolation to the digital GPIOs."]
24pub type DG_PAD_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
25#[doc = "Field `DG_PAD_FORCE_ISO` reader - Set this bit to force isolate the digital GPIOs."]
26pub type DG_PAD_FORCE_ISO_R = crate::BitReader;
27#[doc = "Field `DG_PAD_FORCE_ISO` writer - Set this bit to force isolate the digital GPIOs."]
28pub type DG_PAD_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `DG_PAD_FORCE_UNHOLD` reader - Set this bit the force unhold the digital GPIOs."]
30pub type DG_PAD_FORCE_UNHOLD_R = crate::BitReader;
31#[doc = "Field `DG_PAD_FORCE_UNHOLD` writer - Set this bit the force unhold the digital GPIOs."]
32pub type DG_PAD_FORCE_UNHOLD_W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `DG_PAD_FORCE_HOLD` reader - Set this bit the force hold the digital GPIOs."]
34pub type DG_PAD_FORCE_HOLD_R = crate::BitReader;
35#[doc = "Field `DG_PAD_FORCE_HOLD` writer - Set this bit the force hold the digital GPIOs."]
36pub type DG_PAD_FORCE_HOLD_W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `ROM0_FORCE_ISO` reader - ROM force ISO"]
38pub type ROM0_FORCE_ISO_R = crate::BitReader;
39#[doc = "Field `ROM0_FORCE_ISO` writer - ROM force ISO"]
40pub type ROM0_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `ROM0_FORCE_NOISO` reader - ROM force no ISO"]
42pub type ROM0_FORCE_NOISO_R = crate::BitReader;
43#[doc = "Field `ROM0_FORCE_NOISO` writer - ROM force no ISO"]
44pub type ROM0_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `INTER_RAM0_FORCE_ISO` reader - internal SRAM 0 force ISO"]
46pub type INTER_RAM0_FORCE_ISO_R = crate::BitReader;
47#[doc = "Field `INTER_RAM0_FORCE_ISO` writer - internal SRAM 0 force ISO"]
48pub type INTER_RAM0_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `INTER_RAM0_FORCE_NOISO` reader - internal SRAM 0 force no ISO"]
50pub type INTER_RAM0_FORCE_NOISO_R = crate::BitReader;
51#[doc = "Field `INTER_RAM0_FORCE_NOISO` writer - internal SRAM 0 force no ISO"]
52pub type INTER_RAM0_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `INTER_RAM1_FORCE_ISO` reader - internal SRAM 1 force ISO"]
54pub type INTER_RAM1_FORCE_ISO_R = crate::BitReader;
55#[doc = "Field `INTER_RAM1_FORCE_ISO` writer - internal SRAM 1 force ISO"]
56pub type INTER_RAM1_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `INTER_RAM1_FORCE_NOISO` reader - internal SRAM 1 force no ISO"]
58pub type INTER_RAM1_FORCE_NOISO_R = crate::BitReader;
59#[doc = "Field `INTER_RAM1_FORCE_NOISO` writer - internal SRAM 1 force no ISO"]
60pub type INTER_RAM1_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `INTER_RAM2_FORCE_ISO` reader - internal SRAM 2 force ISO"]
62pub type INTER_RAM2_FORCE_ISO_R = crate::BitReader;
63#[doc = "Field `INTER_RAM2_FORCE_ISO` writer - internal SRAM 2 force ISO"]
64pub type INTER_RAM2_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `INTER_RAM2_FORCE_NOISO` reader - internal SRAM 2 force no ISO"]
66pub type INTER_RAM2_FORCE_NOISO_R = crate::BitReader;
67#[doc = "Field `INTER_RAM2_FORCE_NOISO` writer - internal SRAM 2 force no ISO"]
68pub type INTER_RAM2_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
69#[doc = "Field `INTER_RAM3_FORCE_ISO` reader - internal SRAM 3 force ISO"]
70pub type INTER_RAM3_FORCE_ISO_R = crate::BitReader;
71#[doc = "Field `INTER_RAM3_FORCE_ISO` writer - internal SRAM 3 force ISO"]
72pub type INTER_RAM3_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
73#[doc = "Field `INTER_RAM3_FORCE_NOISO` reader - internal SRAM 3 force no ISO"]
74pub type INTER_RAM3_FORCE_NOISO_R = crate::BitReader;
75#[doc = "Field `INTER_RAM3_FORCE_NOISO` writer - internal SRAM 3 force no ISO"]
76pub type INTER_RAM3_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
77#[doc = "Field `INTER_RAM4_FORCE_ISO` reader - internal SRAM 4 force ISO"]
78pub type INTER_RAM4_FORCE_ISO_R = crate::BitReader;
79#[doc = "Field `INTER_RAM4_FORCE_ISO` writer - internal SRAM 4 force ISO"]
80pub type INTER_RAM4_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
81#[doc = "Field `INTER_RAM4_FORCE_NOISO` reader - internal SRAM 4 force no ISO"]
82pub type INTER_RAM4_FORCE_NOISO_R = crate::BitReader;
83#[doc = "Field `INTER_RAM4_FORCE_NOISO` writer - internal SRAM 4 force no ISO"]
84pub type INTER_RAM4_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
85#[doc = "Field `WIFI_FORCE_ISO` reader - Set this bit to force isolate the Wi-Fi circuits."]
86pub type WIFI_FORCE_ISO_R = crate::BitReader;
87#[doc = "Field `WIFI_FORCE_ISO` writer - Set this bit to force isolate the Wi-Fi circuits."]
88pub type WIFI_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
89#[doc = "Field `WIFI_FORCE_NOISO` reader - Set this bit to disable the force isolation to the Wi-Fi circuits."]
90pub type WIFI_FORCE_NOISO_R = crate::BitReader;
91#[doc = "Field `WIFI_FORCE_NOISO` writer - Set this bit to disable the force isolation to the Wi-Fi circuits."]
92pub type WIFI_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
93#[doc = "Field `DG_WRAP_FORCE_ISO` reader - Set this bit to force isolate the digital system."]
94pub type DG_WRAP_FORCE_ISO_R = crate::BitReader;
95#[doc = "Field `DG_WRAP_FORCE_ISO` writer - Set this bit to force isolate the digital system."]
96pub type DG_WRAP_FORCE_ISO_W<'a, REG> = crate::BitWriter<'a, REG>;
97#[doc = "Field `DG_WRAP_FORCE_NOISO` reader - Set this bit to disable the force isolation to the digital system."]
98pub type DG_WRAP_FORCE_NOISO_R = crate::BitReader;
99#[doc = "Field `DG_WRAP_FORCE_NOISO` writer - Set this bit to disable the force isolation to the digital system."]
100pub type DG_WRAP_FORCE_NOISO_W<'a, REG> = crate::BitWriter<'a, REG>;
101impl R {
102    #[doc = "Bit 7"]
103    #[inline(always)]
104    pub fn force_off(&self) -> FORCE_OFF_R {
105        FORCE_OFF_R::new(((self.bits >> 7) & 1) != 0)
106    }
107    #[doc = "Bit 8"]
108    #[inline(always)]
109    pub fn force_on(&self) -> FORCE_ON_R {
110        FORCE_ON_R::new(((self.bits >> 8) & 1) != 0)
111    }
112    #[doc = "Bit 9 - Indicates the auto-hold status of the digital GPIOs."]
113    #[inline(always)]
114    pub fn dg_pad_autohold(&self) -> DG_PAD_AUTOHOLD_R {
115        DG_PAD_AUTOHOLD_R::new(((self.bits >> 9) & 1) != 0)
116    }
117    #[doc = "Bit 11 - Se this bit to allow the digital GPIOs to enter the autohold status."]
118    #[inline(always)]
119    pub fn dg_pad_autohold_en(&self) -> DG_PAD_AUTOHOLD_EN_R {
120        DG_PAD_AUTOHOLD_EN_R::new(((self.bits >> 11) & 1) != 0)
121    }
122    #[doc = "Bit 12 - Set this bit to disable the force isolation to the digital GPIOs."]
123    #[inline(always)]
124    pub fn dg_pad_force_noiso(&self) -> DG_PAD_FORCE_NOISO_R {
125        DG_PAD_FORCE_NOISO_R::new(((self.bits >> 12) & 1) != 0)
126    }
127    #[doc = "Bit 13 - Set this bit to force isolate the digital GPIOs."]
128    #[inline(always)]
129    pub fn dg_pad_force_iso(&self) -> DG_PAD_FORCE_ISO_R {
130        DG_PAD_FORCE_ISO_R::new(((self.bits >> 13) & 1) != 0)
131    }
132    #[doc = "Bit 14 - Set this bit the force unhold the digital GPIOs."]
133    #[inline(always)]
134    pub fn dg_pad_force_unhold(&self) -> DG_PAD_FORCE_UNHOLD_R {
135        DG_PAD_FORCE_UNHOLD_R::new(((self.bits >> 14) & 1) != 0)
136    }
137    #[doc = "Bit 15 - Set this bit the force hold the digital GPIOs."]
138    #[inline(always)]
139    pub fn dg_pad_force_hold(&self) -> DG_PAD_FORCE_HOLD_R {
140        DG_PAD_FORCE_HOLD_R::new(((self.bits >> 15) & 1) != 0)
141    }
142    #[doc = "Bit 16 - ROM force ISO"]
143    #[inline(always)]
144    pub fn rom0_force_iso(&self) -> ROM0_FORCE_ISO_R {
145        ROM0_FORCE_ISO_R::new(((self.bits >> 16) & 1) != 0)
146    }
147    #[doc = "Bit 17 - ROM force no ISO"]
148    #[inline(always)]
149    pub fn rom0_force_noiso(&self) -> ROM0_FORCE_NOISO_R {
150        ROM0_FORCE_NOISO_R::new(((self.bits >> 17) & 1) != 0)
151    }
152    #[doc = "Bit 18 - internal SRAM 0 force ISO"]
153    #[inline(always)]
154    pub fn inter_ram0_force_iso(&self) -> INTER_RAM0_FORCE_ISO_R {
155        INTER_RAM0_FORCE_ISO_R::new(((self.bits >> 18) & 1) != 0)
156    }
157    #[doc = "Bit 19 - internal SRAM 0 force no ISO"]
158    #[inline(always)]
159    pub fn inter_ram0_force_noiso(&self) -> INTER_RAM0_FORCE_NOISO_R {
160        INTER_RAM0_FORCE_NOISO_R::new(((self.bits >> 19) & 1) != 0)
161    }
162    #[doc = "Bit 20 - internal SRAM 1 force ISO"]
163    #[inline(always)]
164    pub fn inter_ram1_force_iso(&self) -> INTER_RAM1_FORCE_ISO_R {
165        INTER_RAM1_FORCE_ISO_R::new(((self.bits >> 20) & 1) != 0)
166    }
167    #[doc = "Bit 21 - internal SRAM 1 force no ISO"]
168    #[inline(always)]
169    pub fn inter_ram1_force_noiso(&self) -> INTER_RAM1_FORCE_NOISO_R {
170        INTER_RAM1_FORCE_NOISO_R::new(((self.bits >> 21) & 1) != 0)
171    }
172    #[doc = "Bit 22 - internal SRAM 2 force ISO"]
173    #[inline(always)]
174    pub fn inter_ram2_force_iso(&self) -> INTER_RAM2_FORCE_ISO_R {
175        INTER_RAM2_FORCE_ISO_R::new(((self.bits >> 22) & 1) != 0)
176    }
177    #[doc = "Bit 23 - internal SRAM 2 force no ISO"]
178    #[inline(always)]
179    pub fn inter_ram2_force_noiso(&self) -> INTER_RAM2_FORCE_NOISO_R {
180        INTER_RAM2_FORCE_NOISO_R::new(((self.bits >> 23) & 1) != 0)
181    }
182    #[doc = "Bit 24 - internal SRAM 3 force ISO"]
183    #[inline(always)]
184    pub fn inter_ram3_force_iso(&self) -> INTER_RAM3_FORCE_ISO_R {
185        INTER_RAM3_FORCE_ISO_R::new(((self.bits >> 24) & 1) != 0)
186    }
187    #[doc = "Bit 25 - internal SRAM 3 force no ISO"]
188    #[inline(always)]
189    pub fn inter_ram3_force_noiso(&self) -> INTER_RAM3_FORCE_NOISO_R {
190        INTER_RAM3_FORCE_NOISO_R::new(((self.bits >> 25) & 1) != 0)
191    }
192    #[doc = "Bit 26 - internal SRAM 4 force ISO"]
193    #[inline(always)]
194    pub fn inter_ram4_force_iso(&self) -> INTER_RAM4_FORCE_ISO_R {
195        INTER_RAM4_FORCE_ISO_R::new(((self.bits >> 26) & 1) != 0)
196    }
197    #[doc = "Bit 27 - internal SRAM 4 force no ISO"]
198    #[inline(always)]
199    pub fn inter_ram4_force_noiso(&self) -> INTER_RAM4_FORCE_NOISO_R {
200        INTER_RAM4_FORCE_NOISO_R::new(((self.bits >> 27) & 1) != 0)
201    }
202    #[doc = "Bit 28 - Set this bit to force isolate the Wi-Fi circuits."]
203    #[inline(always)]
204    pub fn wifi_force_iso(&self) -> WIFI_FORCE_ISO_R {
205        WIFI_FORCE_ISO_R::new(((self.bits >> 28) & 1) != 0)
206    }
207    #[doc = "Bit 29 - Set this bit to disable the force isolation to the Wi-Fi circuits."]
208    #[inline(always)]
209    pub fn wifi_force_noiso(&self) -> WIFI_FORCE_NOISO_R {
210        WIFI_FORCE_NOISO_R::new(((self.bits >> 29) & 1) != 0)
211    }
212    #[doc = "Bit 30 - Set this bit to force isolate the digital system."]
213    #[inline(always)]
214    pub fn dg_wrap_force_iso(&self) -> DG_WRAP_FORCE_ISO_R {
215        DG_WRAP_FORCE_ISO_R::new(((self.bits >> 30) & 1) != 0)
216    }
217    #[doc = "Bit 31 - Set this bit to disable the force isolation to the digital system."]
218    #[inline(always)]
219    pub fn dg_wrap_force_noiso(&self) -> DG_WRAP_FORCE_NOISO_R {
220        DG_WRAP_FORCE_NOISO_R::new(((self.bits >> 31) & 1) != 0)
221    }
222}
223#[cfg(feature = "impl-register-debug")]
224impl core::fmt::Debug for R {
225    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
226        f.debug_struct("DIG_ISO")
227            .field("force_off", &self.force_off())
228            .field("force_on", &self.force_on())
229            .field("dg_pad_autohold", &self.dg_pad_autohold())
230            .field("dg_pad_autohold_en", &self.dg_pad_autohold_en())
231            .field("dg_pad_force_noiso", &self.dg_pad_force_noiso())
232            .field("dg_pad_force_iso", &self.dg_pad_force_iso())
233            .field("dg_pad_force_unhold", &self.dg_pad_force_unhold())
234            .field("dg_pad_force_hold", &self.dg_pad_force_hold())
235            .field("rom0_force_iso", &self.rom0_force_iso())
236            .field("rom0_force_noiso", &self.rom0_force_noiso())
237            .field("inter_ram0_force_iso", &self.inter_ram0_force_iso())
238            .field("inter_ram0_force_noiso", &self.inter_ram0_force_noiso())
239            .field("inter_ram1_force_iso", &self.inter_ram1_force_iso())
240            .field("inter_ram1_force_noiso", &self.inter_ram1_force_noiso())
241            .field("inter_ram2_force_iso", &self.inter_ram2_force_iso())
242            .field("inter_ram2_force_noiso", &self.inter_ram2_force_noiso())
243            .field("inter_ram3_force_iso", &self.inter_ram3_force_iso())
244            .field("inter_ram3_force_noiso", &self.inter_ram3_force_noiso())
245            .field("inter_ram4_force_iso", &self.inter_ram4_force_iso())
246            .field("inter_ram4_force_noiso", &self.inter_ram4_force_noiso())
247            .field("wifi_force_iso", &self.wifi_force_iso())
248            .field("wifi_force_noiso", &self.wifi_force_noiso())
249            .field("dg_wrap_force_iso", &self.dg_wrap_force_iso())
250            .field("dg_wrap_force_noiso", &self.dg_wrap_force_noiso())
251            .finish()
252    }
253}
254impl W {
255    #[doc = "Bit 7"]
256    #[inline(always)]
257    pub fn force_off(&mut self) -> FORCE_OFF_W<DIG_ISO_SPEC> {
258        FORCE_OFF_W::new(self, 7)
259    }
260    #[doc = "Bit 8"]
261    #[inline(always)]
262    pub fn force_on(&mut self) -> FORCE_ON_W<DIG_ISO_SPEC> {
263        FORCE_ON_W::new(self, 8)
264    }
265    #[doc = "Bit 10 - Se this bit to clear the auto-hold enabler for the digital GPIOs."]
266    #[inline(always)]
267    pub fn clr_dg_pad_autohold(&mut self) -> CLR_DG_PAD_AUTOHOLD_W<DIG_ISO_SPEC> {
268        CLR_DG_PAD_AUTOHOLD_W::new(self, 10)
269    }
270    #[doc = "Bit 11 - Se this bit to allow the digital GPIOs to enter the autohold status."]
271    #[inline(always)]
272    pub fn dg_pad_autohold_en(&mut self) -> DG_PAD_AUTOHOLD_EN_W<DIG_ISO_SPEC> {
273        DG_PAD_AUTOHOLD_EN_W::new(self, 11)
274    }
275    #[doc = "Bit 12 - Set this bit to disable the force isolation to the digital GPIOs."]
276    #[inline(always)]
277    pub fn dg_pad_force_noiso(&mut self) -> DG_PAD_FORCE_NOISO_W<DIG_ISO_SPEC> {
278        DG_PAD_FORCE_NOISO_W::new(self, 12)
279    }
280    #[doc = "Bit 13 - Set this bit to force isolate the digital GPIOs."]
281    #[inline(always)]
282    pub fn dg_pad_force_iso(&mut self) -> DG_PAD_FORCE_ISO_W<DIG_ISO_SPEC> {
283        DG_PAD_FORCE_ISO_W::new(self, 13)
284    }
285    #[doc = "Bit 14 - Set this bit the force unhold the digital GPIOs."]
286    #[inline(always)]
287    pub fn dg_pad_force_unhold(&mut self) -> DG_PAD_FORCE_UNHOLD_W<DIG_ISO_SPEC> {
288        DG_PAD_FORCE_UNHOLD_W::new(self, 14)
289    }
290    #[doc = "Bit 15 - Set this bit the force hold the digital GPIOs."]
291    #[inline(always)]
292    pub fn dg_pad_force_hold(&mut self) -> DG_PAD_FORCE_HOLD_W<DIG_ISO_SPEC> {
293        DG_PAD_FORCE_HOLD_W::new(self, 15)
294    }
295    #[doc = "Bit 16 - ROM force ISO"]
296    #[inline(always)]
297    pub fn rom0_force_iso(&mut self) -> ROM0_FORCE_ISO_W<DIG_ISO_SPEC> {
298        ROM0_FORCE_ISO_W::new(self, 16)
299    }
300    #[doc = "Bit 17 - ROM force no ISO"]
301    #[inline(always)]
302    pub fn rom0_force_noiso(&mut self) -> ROM0_FORCE_NOISO_W<DIG_ISO_SPEC> {
303        ROM0_FORCE_NOISO_W::new(self, 17)
304    }
305    #[doc = "Bit 18 - internal SRAM 0 force ISO"]
306    #[inline(always)]
307    pub fn inter_ram0_force_iso(&mut self) -> INTER_RAM0_FORCE_ISO_W<DIG_ISO_SPEC> {
308        INTER_RAM0_FORCE_ISO_W::new(self, 18)
309    }
310    #[doc = "Bit 19 - internal SRAM 0 force no ISO"]
311    #[inline(always)]
312    pub fn inter_ram0_force_noiso(&mut self) -> INTER_RAM0_FORCE_NOISO_W<DIG_ISO_SPEC> {
313        INTER_RAM0_FORCE_NOISO_W::new(self, 19)
314    }
315    #[doc = "Bit 20 - internal SRAM 1 force ISO"]
316    #[inline(always)]
317    pub fn inter_ram1_force_iso(&mut self) -> INTER_RAM1_FORCE_ISO_W<DIG_ISO_SPEC> {
318        INTER_RAM1_FORCE_ISO_W::new(self, 20)
319    }
320    #[doc = "Bit 21 - internal SRAM 1 force no ISO"]
321    #[inline(always)]
322    pub fn inter_ram1_force_noiso(&mut self) -> INTER_RAM1_FORCE_NOISO_W<DIG_ISO_SPEC> {
323        INTER_RAM1_FORCE_NOISO_W::new(self, 21)
324    }
325    #[doc = "Bit 22 - internal SRAM 2 force ISO"]
326    #[inline(always)]
327    pub fn inter_ram2_force_iso(&mut self) -> INTER_RAM2_FORCE_ISO_W<DIG_ISO_SPEC> {
328        INTER_RAM2_FORCE_ISO_W::new(self, 22)
329    }
330    #[doc = "Bit 23 - internal SRAM 2 force no ISO"]
331    #[inline(always)]
332    pub fn inter_ram2_force_noiso(&mut self) -> INTER_RAM2_FORCE_NOISO_W<DIG_ISO_SPEC> {
333        INTER_RAM2_FORCE_NOISO_W::new(self, 23)
334    }
335    #[doc = "Bit 24 - internal SRAM 3 force ISO"]
336    #[inline(always)]
337    pub fn inter_ram3_force_iso(&mut self) -> INTER_RAM3_FORCE_ISO_W<DIG_ISO_SPEC> {
338        INTER_RAM3_FORCE_ISO_W::new(self, 24)
339    }
340    #[doc = "Bit 25 - internal SRAM 3 force no ISO"]
341    #[inline(always)]
342    pub fn inter_ram3_force_noiso(&mut self) -> INTER_RAM3_FORCE_NOISO_W<DIG_ISO_SPEC> {
343        INTER_RAM3_FORCE_NOISO_W::new(self, 25)
344    }
345    #[doc = "Bit 26 - internal SRAM 4 force ISO"]
346    #[inline(always)]
347    pub fn inter_ram4_force_iso(&mut self) -> INTER_RAM4_FORCE_ISO_W<DIG_ISO_SPEC> {
348        INTER_RAM4_FORCE_ISO_W::new(self, 26)
349    }
350    #[doc = "Bit 27 - internal SRAM 4 force no ISO"]
351    #[inline(always)]
352    pub fn inter_ram4_force_noiso(&mut self) -> INTER_RAM4_FORCE_NOISO_W<DIG_ISO_SPEC> {
353        INTER_RAM4_FORCE_NOISO_W::new(self, 27)
354    }
355    #[doc = "Bit 28 - Set this bit to force isolate the Wi-Fi circuits."]
356    #[inline(always)]
357    pub fn wifi_force_iso(&mut self) -> WIFI_FORCE_ISO_W<DIG_ISO_SPEC> {
358        WIFI_FORCE_ISO_W::new(self, 28)
359    }
360    #[doc = "Bit 29 - Set this bit to disable the force isolation to the Wi-Fi circuits."]
361    #[inline(always)]
362    pub fn wifi_force_noiso(&mut self) -> WIFI_FORCE_NOISO_W<DIG_ISO_SPEC> {
363        WIFI_FORCE_NOISO_W::new(self, 29)
364    }
365    #[doc = "Bit 30 - Set this bit to force isolate the digital system."]
366    #[inline(always)]
367    pub fn dg_wrap_force_iso(&mut self) -> DG_WRAP_FORCE_ISO_W<DIG_ISO_SPEC> {
368        DG_WRAP_FORCE_ISO_W::new(self, 30)
369    }
370    #[doc = "Bit 31 - Set this bit to disable the force isolation to the digital system."]
371    #[inline(always)]
372    pub fn dg_wrap_force_noiso(&mut self) -> DG_WRAP_FORCE_NOISO_W<DIG_ISO_SPEC> {
373        DG_WRAP_FORCE_NOISO_W::new(self, 31)
374    }
375}
376#[doc = "Digital system ISO configuration register\n\nYou can [`read`](crate::Reg::read) this register and get [`dig_iso::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`dig_iso::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
377pub struct DIG_ISO_SPEC;
378impl crate::RegisterSpec for DIG_ISO_SPEC {
379    type Ux = u32;
380}
381#[doc = "`read()` method returns [`dig_iso::R`](R) reader structure"]
382impl crate::Readable for DIG_ISO_SPEC {}
383#[doc = "`write(|w| ..)` method takes [`dig_iso::W`](W) writer structure"]
384impl crate::Writable for DIG_ISO_SPEC {
385    type Safety = crate::Unsafe;
386}
387#[doc = "`reset()` method sets DIG_ISO to value 0xaaaa_5000"]
388impl crate::Resettable for DIG_ISO_SPEC {
389    const RESET_VALUE: u32 = 0xaaaa_5000;
390}