stm32u5/stm32u5a9/gtzc1_tzic/
fcr3.rs

1///Register `FCR3` writer
2pub type W = crate::W<FCR3rs>;
3///Field `CMDF1F` writer - clear the illegal access flag for MDF1
4pub type CMDF1F_W<'a, REG> = crate::BitWriter<'a, REG>;
5///Field `CCORDICF` writer - clear the illegal access flag for CORDIC
6pub type CCORDICF_W<'a, REG> = crate::BitWriter<'a, REG>;
7///Field `CFMACF` writer - clear the illegal access flag for FMAC
8pub type CFMACF_W<'a, REG> = crate::BitWriter<'a, REG>;
9///Field `CCRCF` writer - clear the illegal access flag for CRC
10pub type CCRCF_W<'a, REG> = crate::BitWriter<'a, REG>;
11///Field `CTSCF` writer - clear the illegal access flag for TSC
12pub type CTSCF_W<'a, REG> = crate::BitWriter<'a, REG>;
13///Field `CDMA2DF` writer - clear the illegal access flag for register of DMA2D
14pub type CDMA2DF_W<'a, REG> = crate::BitWriter<'a, REG>;
15///Field `CICACHE_REGF` writer - clear the illegal access flag for ICACHE registers
16pub type CICACHE_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
17///Field `CDCACHE1_REGF` writer - clear the illegal access flag for DCACHE1 registers
18pub type CDCACHE1_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
19///Field `CADC12F` writer - clear the illegal access flag for ADC1 and ADC2
20pub type CADC12F_W<'a, REG> = crate::BitWriter<'a, REG>;
21///Field `CDCMIF` writer - clear the illegal access flag for DCMI
22pub type CDCMIF_W<'a, REG> = crate::BitWriter<'a, REG>;
23///Field `COTGF` writer - clear the illegal access flag for OTG_FS
24pub type COTGF_W<'a, REG> = crate::BitWriter<'a, REG>;
25///Field `CAESF` writer - clear the illegal access flag for AES
26pub type CAESF_W<'a, REG> = crate::BitWriter<'a, REG>;
27///Field `CHASHF` writer - clear the illegal access flag for HASH
28pub type CHASHF_W<'a, REG> = crate::BitWriter<'a, REG>;
29///Field `CRNGF` writer - clear the illegal access flag for RNG
30pub type CRNGF_W<'a, REG> = crate::BitWriter<'a, REG>;
31///Field `CPKAF` writer - clear the illegal access flag for PKA
32pub type CPKAF_W<'a, REG> = crate::BitWriter<'a, REG>;
33///Field `CSAESF` writer - clear the illegal access flag for SAES
34pub type CSAESF_W<'a, REG> = crate::BitWriter<'a, REG>;
35///Field `COCTOSPIMF` writer - clear the illegal access flag for OCTOSPIM
36pub type COCTOSPIMF_W<'a, REG> = crate::BitWriter<'a, REG>;
37///Field `CSDMMC1F` writer - clear the illegal access flag for SDMMC2
38pub type CSDMMC1F_W<'a, REG> = crate::BitWriter<'a, REG>;
39///Field `CSDMMC2F` writer - clear the illegal access flag for SDMMC1
40pub type CSDMMC2F_W<'a, REG> = crate::BitWriter<'a, REG>;
41///Field `CFSMC_REGF` writer - clear the illegal access flag for FSMC registers
42pub type CFSMC_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
43///Field `COCTOSPI1_REGF` writer - clear the illegal access flag for OCTOSPI1 registers
44pub type COCTOSPI1_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
45///Field `COCTOSPI2_REGF` writer - clear the illegal access flag for OCTOSPI2 registers
46pub type COCTOSPI2_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
47///Field `CRAMCFGF` writer - clear the illegal access flag for RAMCFG
48pub type CRAMCFGF_W<'a, REG> = crate::BitWriter<'a, REG>;
49///Field `CGPU2DF` writer - clear the illegal access flag for GPU2D
50pub type CGPU2DF_W<'a, REG> = crate::BitWriter<'a, REG>;
51///Field `CGFXMMUF` writer - clear the illegal access flag for GFXMMU
52pub type CGFXMMUF_W<'a, REG> = crate::BitWriter<'a, REG>;
53///Field `CGFXMMU_REGF` writer - clear the illegal access flag for GFXMMU registers
54pub type CGFXMMU_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
55///Field `CHSPI1_REGF` writer - clear the illegal access flag for GFXMMU registers
56pub type CHSPI1_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
57///Field `CDCACHE2_REGF` writer - clear the illegal access flag for GFXMMU registers
58pub type CDCACHE2_REGF_W<'a, REG> = crate::BitWriter<'a, REG>;
59impl core::fmt::Debug for crate::generic::Reg<FCR3rs> {
60    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
61        write!(f, "(not readable)")
62    }
63}
64impl W {
65    ///Bit 0 - clear the illegal access flag for MDF1
66    #[inline(always)]
67    pub fn cmdf1f(&mut self) -> CMDF1F_W<FCR3rs> {
68        CMDF1F_W::new(self, 0)
69    }
70    ///Bit 1 - clear the illegal access flag for CORDIC
71    #[inline(always)]
72    pub fn ccordicf(&mut self) -> CCORDICF_W<FCR3rs> {
73        CCORDICF_W::new(self, 1)
74    }
75    ///Bit 2 - clear the illegal access flag for FMAC
76    #[inline(always)]
77    pub fn cfmacf(&mut self) -> CFMACF_W<FCR3rs> {
78        CFMACF_W::new(self, 2)
79    }
80    ///Bit 3 - clear the illegal access flag for CRC
81    #[inline(always)]
82    pub fn ccrcf(&mut self) -> CCRCF_W<FCR3rs> {
83        CCRCF_W::new(self, 3)
84    }
85    ///Bit 4 - clear the illegal access flag for TSC
86    #[inline(always)]
87    pub fn ctscf(&mut self) -> CTSCF_W<FCR3rs> {
88        CTSCF_W::new(self, 4)
89    }
90    ///Bit 5 - clear the illegal access flag for register of DMA2D
91    #[inline(always)]
92    pub fn cdma2df(&mut self) -> CDMA2DF_W<FCR3rs> {
93        CDMA2DF_W::new(self, 5)
94    }
95    ///Bit 6 - clear the illegal access flag for ICACHE registers
96    #[inline(always)]
97    pub fn cicache_regf(&mut self) -> CICACHE_REGF_W<FCR3rs> {
98        CICACHE_REGF_W::new(self, 6)
99    }
100    ///Bit 7 - clear the illegal access flag for DCACHE1 registers
101    #[inline(always)]
102    pub fn cdcache1_regf(&mut self) -> CDCACHE1_REGF_W<FCR3rs> {
103        CDCACHE1_REGF_W::new(self, 7)
104    }
105    ///Bit 8 - clear the illegal access flag for ADC1 and ADC2
106    #[inline(always)]
107    pub fn cadc12f(&mut self) -> CADC12F_W<FCR3rs> {
108        CADC12F_W::new(self, 8)
109    }
110    ///Bit 9 - clear the illegal access flag for DCMI
111    #[inline(always)]
112    pub fn cdcmif(&mut self) -> CDCMIF_W<FCR3rs> {
113        CDCMIF_W::new(self, 9)
114    }
115    ///Bit 10 - clear the illegal access flag for OTG_FS
116    #[inline(always)]
117    pub fn cotgf(&mut self) -> COTGF_W<FCR3rs> {
118        COTGF_W::new(self, 10)
119    }
120    ///Bit 11 - clear the illegal access flag for AES
121    #[inline(always)]
122    pub fn caesf(&mut self) -> CAESF_W<FCR3rs> {
123        CAESF_W::new(self, 11)
124    }
125    ///Bit 12 - clear the illegal access flag for HASH
126    #[inline(always)]
127    pub fn chashf(&mut self) -> CHASHF_W<FCR3rs> {
128        CHASHF_W::new(self, 12)
129    }
130    ///Bit 13 - clear the illegal access flag for RNG
131    #[inline(always)]
132    pub fn crngf(&mut self) -> CRNGF_W<FCR3rs> {
133        CRNGF_W::new(self, 13)
134    }
135    ///Bit 14 - clear the illegal access flag for PKA
136    #[inline(always)]
137    pub fn cpkaf(&mut self) -> CPKAF_W<FCR3rs> {
138        CPKAF_W::new(self, 14)
139    }
140    ///Bit 15 - clear the illegal access flag for SAES
141    #[inline(always)]
142    pub fn csaesf(&mut self) -> CSAESF_W<FCR3rs> {
143        CSAESF_W::new(self, 15)
144    }
145    ///Bit 16 - clear the illegal access flag for OCTOSPIM
146    #[inline(always)]
147    pub fn coctospimf(&mut self) -> COCTOSPIMF_W<FCR3rs> {
148        COCTOSPIMF_W::new(self, 16)
149    }
150    ///Bit 17 - clear the illegal access flag for SDMMC2
151    #[inline(always)]
152    pub fn csdmmc1f(&mut self) -> CSDMMC1F_W<FCR3rs> {
153        CSDMMC1F_W::new(self, 17)
154    }
155    ///Bit 18 - clear the illegal access flag for SDMMC1
156    #[inline(always)]
157    pub fn csdmmc2f(&mut self) -> CSDMMC2F_W<FCR3rs> {
158        CSDMMC2F_W::new(self, 18)
159    }
160    ///Bit 19 - clear the illegal access flag for FSMC registers
161    #[inline(always)]
162    pub fn cfsmc_regf(&mut self) -> CFSMC_REGF_W<FCR3rs> {
163        CFSMC_REGF_W::new(self, 19)
164    }
165    ///Bit 20 - clear the illegal access flag for OCTOSPI1 registers
166    #[inline(always)]
167    pub fn coctospi1_regf(&mut self) -> COCTOSPI1_REGF_W<FCR3rs> {
168        COCTOSPI1_REGF_W::new(self, 20)
169    }
170    ///Bit 21 - clear the illegal access flag for OCTOSPI2 registers
171    #[inline(always)]
172    pub fn coctospi2_regf(&mut self) -> COCTOSPI2_REGF_W<FCR3rs> {
173        COCTOSPI2_REGF_W::new(self, 21)
174    }
175    ///Bit 22 - clear the illegal access flag for RAMCFG
176    #[inline(always)]
177    pub fn cramcfgf(&mut self) -> CRAMCFGF_W<FCR3rs> {
178        CRAMCFGF_W::new(self, 22)
179    }
180    ///Bit 23 - clear the illegal access flag for GPU2D
181    #[inline(always)]
182    pub fn cgpu2df(&mut self) -> CGPU2DF_W<FCR3rs> {
183        CGPU2DF_W::new(self, 23)
184    }
185    ///Bit 24 - clear the illegal access flag for GFXMMU
186    #[inline(always)]
187    pub fn cgfxmmuf(&mut self) -> CGFXMMUF_W<FCR3rs> {
188        CGFXMMUF_W::new(self, 24)
189    }
190    ///Bit 25 - clear the illegal access flag for GFXMMU registers
191    #[inline(always)]
192    pub fn cgfxmmu_regf(&mut self) -> CGFXMMU_REGF_W<FCR3rs> {
193        CGFXMMU_REGF_W::new(self, 25)
194    }
195    ///Bit 26 - clear the illegal access flag for GFXMMU registers
196    #[inline(always)]
197    pub fn chspi1_regf(&mut self) -> CHSPI1_REGF_W<FCR3rs> {
198        CHSPI1_REGF_W::new(self, 26)
199    }
200    ///Bit 27 - clear the illegal access flag for GFXMMU registers
201    #[inline(always)]
202    pub fn cdcache2_regf(&mut self) -> CDCACHE2_REGF_W<FCR3rs> {
203        CDCACHE2_REGF_W::new(self, 27)
204    }
205}
206/**TZIC flag clear register 3
207
208You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fcr3::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
209
210See register [structure](https://stm32-rs.github.io/stm32-rs/STM32U5A9.html#GTZC1_TZIC:FCR3)*/
211pub struct FCR3rs;
212impl crate::RegisterSpec for FCR3rs {
213    type Ux = u32;
214}
215///`write(|w| ..)` method takes [`fcr3::W`](W) writer structure
216impl crate::Writable for FCR3rs {
217    type Safety = crate::Unsafe;
218}
219///`reset()` method sets FCR3 to value 0
220impl crate::Resettable for FCR3rs {}