1#[doc = "Register `INT_CLR` writer"]
2pub type W = crate::W<INT_CLR_SPEC>;
3#[doc = "Field `TIMER0_STOP` writer - "]
4pub type TIMER0_STOP_W<'a, REG> = crate::BitWriter1C<'a, REG>;
5#[doc = "Field `TIMER1_STOP` writer - "]
6pub type TIMER1_STOP_W<'a, REG> = crate::BitWriter1C<'a, REG>;
7#[doc = "Field `TIMER2_STOP` writer - "]
8pub type TIMER2_STOP_W<'a, REG> = crate::BitWriter1C<'a, REG>;
9#[doc = "Field `TIMER0_TEZ` writer - "]
10pub type TIMER0_TEZ_W<'a, REG> = crate::BitWriter1C<'a, REG>;
11#[doc = "Field `TIMER1_TEZ` writer - "]
12pub type TIMER1_TEZ_W<'a, REG> = crate::BitWriter1C<'a, REG>;
13#[doc = "Field `TIMER2_TEZ` writer - "]
14pub type TIMER2_TEZ_W<'a, REG> = crate::BitWriter1C<'a, REG>;
15#[doc = "Field `TIMER0_TEP` writer - "]
16pub type TIMER0_TEP_W<'a, REG> = crate::BitWriter1C<'a, REG>;
17#[doc = "Field `TIMER1_TEP` writer - "]
18pub type TIMER1_TEP_W<'a, REG> = crate::BitWriter1C<'a, REG>;
19#[doc = "Field `TIMER2_TEP` writer - "]
20pub type TIMER2_TEP_W<'a, REG> = crate::BitWriter1C<'a, REG>;
21#[doc = "Field `FAULT0` writer - "]
22pub type FAULT0_W<'a, REG> = crate::BitWriter1C<'a, REG>;
23#[doc = "Field `FAULT1` writer - "]
24pub type FAULT1_W<'a, REG> = crate::BitWriter1C<'a, REG>;
25#[doc = "Field `FAULT2` writer - "]
26pub type FAULT2_W<'a, REG> = crate::BitWriter1C<'a, REG>;
27#[doc = "Field `FAULT0_CLR` writer - "]
28pub type FAULT0_CLR_W<'a, REG> = crate::BitWriter1C<'a, REG>;
29#[doc = "Field `FAULT1_CLR` writer - "]
30pub type FAULT1_CLR_W<'a, REG> = crate::BitWriter1C<'a, REG>;
31#[doc = "Field `FAULT2_CLR` writer - "]
32pub type FAULT2_CLR_W<'a, REG> = crate::BitWriter1C<'a, REG>;
33#[doc = "Field `OP0_TEA` writer - "]
34pub type OP0_TEA_W<'a, REG> = crate::BitWriter1C<'a, REG>;
35#[doc = "Field `OP1_TEA` writer - "]
36pub type OP1_TEA_W<'a, REG> = crate::BitWriter1C<'a, REG>;
37#[doc = "Field `OP2_TEA` writer - "]
38pub type OP2_TEA_W<'a, REG> = crate::BitWriter1C<'a, REG>;
39#[doc = "Field `OP0_TEB` writer - "]
40pub type OP0_TEB_W<'a, REG> = crate::BitWriter1C<'a, REG>;
41#[doc = "Field `OP1_TEB` writer - "]
42pub type OP1_TEB_W<'a, REG> = crate::BitWriter1C<'a, REG>;
43#[doc = "Field `OP2_TEB` writer - "]
44pub type OP2_TEB_W<'a, REG> = crate::BitWriter1C<'a, REG>;
45#[doc = "Field `FH0_CBC` writer - "]
46pub type FH0_CBC_W<'a, REG> = crate::BitWriter1C<'a, REG>;
47#[doc = "Field `FH1_CBC` writer - "]
48pub type FH1_CBC_W<'a, REG> = crate::BitWriter1C<'a, REG>;
49#[doc = "Field `FH2_CBC` writer - "]
50pub type FH2_CBC_W<'a, REG> = crate::BitWriter1C<'a, REG>;
51#[doc = "Field `FH0_OST` writer - "]
52pub type FH0_OST_W<'a, REG> = crate::BitWriter1C<'a, REG>;
53#[doc = "Field `FH1_OST` writer - "]
54pub type FH1_OST_W<'a, REG> = crate::BitWriter1C<'a, REG>;
55#[doc = "Field `FH2_OST` writer - "]
56pub type FH2_OST_W<'a, REG> = crate::BitWriter1C<'a, REG>;
57#[doc = "Field `CAP0` writer - "]
58pub type CAP0_W<'a, REG> = crate::BitWriter1C<'a, REG>;
59#[doc = "Field `CAP1` writer - "]
60pub type CAP1_W<'a, REG> = crate::BitWriter1C<'a, REG>;
61#[doc = "Field `CAP2` writer - "]
62pub type CAP2_W<'a, REG> = crate::BitWriter1C<'a, REG>;
63#[cfg(feature = "impl-register-debug")]
64impl core::fmt::Debug for crate::generic::Reg<INT_CLR_SPEC> {
65 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
66 write!(f, "(not readable)")
67 }
68}
69impl W {
70 #[doc = "Bit 0"]
71 #[inline(always)]
72 pub fn timer0_stop(&mut self) -> TIMER0_STOP_W<INT_CLR_SPEC> {
73 TIMER0_STOP_W::new(self, 0)
74 }
75 #[doc = "Bit 1"]
76 #[inline(always)]
77 pub fn timer1_stop(&mut self) -> TIMER1_STOP_W<INT_CLR_SPEC> {
78 TIMER1_STOP_W::new(self, 1)
79 }
80 #[doc = "Bit 2"]
81 #[inline(always)]
82 pub fn timer2_stop(&mut self) -> TIMER2_STOP_W<INT_CLR_SPEC> {
83 TIMER2_STOP_W::new(self, 2)
84 }
85 #[doc = "Bit 3"]
86 #[inline(always)]
87 pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W<INT_CLR_SPEC> {
88 TIMER0_TEZ_W::new(self, 3)
89 }
90 #[doc = "Bit 4"]
91 #[inline(always)]
92 pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W<INT_CLR_SPEC> {
93 TIMER1_TEZ_W::new(self, 4)
94 }
95 #[doc = "Bit 5"]
96 #[inline(always)]
97 pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W<INT_CLR_SPEC> {
98 TIMER2_TEZ_W::new(self, 5)
99 }
100 #[doc = "Bit 6"]
101 #[inline(always)]
102 pub fn timer0_tep(&mut self) -> TIMER0_TEP_W<INT_CLR_SPEC> {
103 TIMER0_TEP_W::new(self, 6)
104 }
105 #[doc = "Bit 7"]
106 #[inline(always)]
107 pub fn timer1_tep(&mut self) -> TIMER1_TEP_W<INT_CLR_SPEC> {
108 TIMER1_TEP_W::new(self, 7)
109 }
110 #[doc = "Bit 8"]
111 #[inline(always)]
112 pub fn timer2_tep(&mut self) -> TIMER2_TEP_W<INT_CLR_SPEC> {
113 TIMER2_TEP_W::new(self, 8)
114 }
115 #[doc = "Bit 9"]
116 #[inline(always)]
117 pub fn fault0(&mut self) -> FAULT0_W<INT_CLR_SPEC> {
118 FAULT0_W::new(self, 9)
119 }
120 #[doc = "Bit 10"]
121 #[inline(always)]
122 pub fn fault1(&mut self) -> FAULT1_W<INT_CLR_SPEC> {
123 FAULT1_W::new(self, 10)
124 }
125 #[doc = "Bit 11"]
126 #[inline(always)]
127 pub fn fault2(&mut self) -> FAULT2_W<INT_CLR_SPEC> {
128 FAULT2_W::new(self, 11)
129 }
130 #[doc = "Bit 12"]
131 #[inline(always)]
132 pub fn fault0_clr(&mut self) -> FAULT0_CLR_W<INT_CLR_SPEC> {
133 FAULT0_CLR_W::new(self, 12)
134 }
135 #[doc = "Bit 13"]
136 #[inline(always)]
137 pub fn fault1_clr(&mut self) -> FAULT1_CLR_W<INT_CLR_SPEC> {
138 FAULT1_CLR_W::new(self, 13)
139 }
140 #[doc = "Bit 14"]
141 #[inline(always)]
142 pub fn fault2_clr(&mut self) -> FAULT2_CLR_W<INT_CLR_SPEC> {
143 FAULT2_CLR_W::new(self, 14)
144 }
145 #[doc = "Bit 15"]
146 #[inline(always)]
147 pub fn op0_tea(&mut self) -> OP0_TEA_W<INT_CLR_SPEC> {
148 OP0_TEA_W::new(self, 15)
149 }
150 #[doc = "Bit 16"]
151 #[inline(always)]
152 pub fn op1_tea(&mut self) -> OP1_TEA_W<INT_CLR_SPEC> {
153 OP1_TEA_W::new(self, 16)
154 }
155 #[doc = "Bit 17"]
156 #[inline(always)]
157 pub fn op2_tea(&mut self) -> OP2_TEA_W<INT_CLR_SPEC> {
158 OP2_TEA_W::new(self, 17)
159 }
160 #[doc = "Bit 18"]
161 #[inline(always)]
162 pub fn op0_teb(&mut self) -> OP0_TEB_W<INT_CLR_SPEC> {
163 OP0_TEB_W::new(self, 18)
164 }
165 #[doc = "Bit 19"]
166 #[inline(always)]
167 pub fn op1_teb(&mut self) -> OP1_TEB_W<INT_CLR_SPEC> {
168 OP1_TEB_W::new(self, 19)
169 }
170 #[doc = "Bit 20"]
171 #[inline(always)]
172 pub fn op2_teb(&mut self) -> OP2_TEB_W<INT_CLR_SPEC> {
173 OP2_TEB_W::new(self, 20)
174 }
175 #[doc = "Bit 21"]
176 #[inline(always)]
177 pub fn fh0_cbc(&mut self) -> FH0_CBC_W<INT_CLR_SPEC> {
178 FH0_CBC_W::new(self, 21)
179 }
180 #[doc = "Bit 22"]
181 #[inline(always)]
182 pub fn fh1_cbc(&mut self) -> FH1_CBC_W<INT_CLR_SPEC> {
183 FH1_CBC_W::new(self, 22)
184 }
185 #[doc = "Bit 23"]
186 #[inline(always)]
187 pub fn fh2_cbc(&mut self) -> FH2_CBC_W<INT_CLR_SPEC> {
188 FH2_CBC_W::new(self, 23)
189 }
190 #[doc = "Bit 24"]
191 #[inline(always)]
192 pub fn fh0_ost(&mut self) -> FH0_OST_W<INT_CLR_SPEC> {
193 FH0_OST_W::new(self, 24)
194 }
195 #[doc = "Bit 25"]
196 #[inline(always)]
197 pub fn fh1_ost(&mut self) -> FH1_OST_W<INT_CLR_SPEC> {
198 FH1_OST_W::new(self, 25)
199 }
200 #[doc = "Bit 26"]
201 #[inline(always)]
202 pub fn fh2_ost(&mut self) -> FH2_OST_W<INT_CLR_SPEC> {
203 FH2_OST_W::new(self, 26)
204 }
205 #[doc = "Bit 27"]
206 #[inline(always)]
207 pub fn cap0(&mut self) -> CAP0_W<INT_CLR_SPEC> {
208 CAP0_W::new(self, 27)
209 }
210 #[doc = "Bit 28"]
211 #[inline(always)]
212 pub fn cap1(&mut self) -> CAP1_W<INT_CLR_SPEC> {
213 CAP1_W::new(self, 28)
214 }
215 #[doc = "Bit 29"]
216 #[inline(always)]
217 pub fn cap2(&mut self) -> CAP2_W<INT_CLR_SPEC> {
218 CAP2_W::new(self, 29)
219 }
220}
221#[doc = "\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
222pub struct INT_CLR_SPEC;
223impl crate::RegisterSpec for INT_CLR_SPEC {
224 type Ux = u32;
225}
226#[doc = "`write(|w| ..)` method takes [`int_clr::W`](W) writer structure"]
227impl crate::Writable for INT_CLR_SPEC {
228 type Safety = crate::Unsafe;
229 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
230 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x3fff_ffff;
231}
232#[doc = "`reset()` method sets INT_CLR to value 0"]
233impl crate::Resettable for INT_CLR_SPEC {
234 const RESET_VALUE: u32 = 0;
235}