esp32/slchost/
host_slc0host_func1_int_ena.rs

1#[doc = "Register `HOST_SLC0HOST_FUNC1_INT_ENA` reader"]
2pub type R = crate::R<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC>;
3#[doc = "Register `HOST_SLC0HOST_FUNC1_INT_ENA` writer"]
4pub type W = crate::W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC>;
5#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA` reader - "]
6pub type HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_R = crate::BitReader;
7#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA` writer - "]
8pub type HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
9#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA` reader - "]
10pub type HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_R = crate::BitReader;
11#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA` writer - "]
12pub type HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
13#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA` reader - "]
14pub type HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_R = crate::BitReader;
15#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA` writer - "]
16pub type HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA` reader - "]
18pub type HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_R = crate::BitReader;
19#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA` writer - "]
20pub type HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
21#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA` reader - "]
22pub type HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_R = crate::BitReader;
23#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA` writer - "]
24pub type HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
25#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA` reader - "]
26pub type HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_R = crate::BitReader;
27#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA` writer - "]
28pub type HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA` reader - "]
30pub type HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_R = crate::BitReader;
31#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA` writer - "]
32pub type HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA` reader - "]
34pub type HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_R = crate::BitReader;
35#[doc = "Field `HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA` writer - "]
36pub type HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA` reader - "]
38pub type HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_R = crate::BitReader;
39#[doc = "Field `HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA` writer - "]
40pub type HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA` reader - "]
42pub type HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_R = crate::BitReader;
43#[doc = "Field `HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA` writer - "]
44pub type HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA` reader - "]
46pub type HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_R = crate::BitReader;
47#[doc = "Field `HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA` writer - "]
48pub type HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA` reader - "]
50pub type HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_R = crate::BitReader;
51#[doc = "Field `HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA` writer - "]
52pub type HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `HOST_FN1_SLC0HOST_RX_SOF_INT_ENA` reader - "]
54pub type HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_R = crate::BitReader;
55#[doc = "Field `HOST_FN1_SLC0HOST_RX_SOF_INT_ENA` writer - "]
56pub type HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `HOST_FN1_SLC0HOST_RX_EOF_INT_ENA` reader - "]
58pub type HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_R = crate::BitReader;
59#[doc = "Field `HOST_FN1_SLC0HOST_RX_EOF_INT_ENA` writer - "]
60pub type HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `HOST_FN1_SLC0HOST_RX_START_INT_ENA` reader - "]
62pub type HOST_FN1_SLC0HOST_RX_START_INT_ENA_R = crate::BitReader;
63#[doc = "Field `HOST_FN1_SLC0HOST_RX_START_INT_ENA` writer - "]
64pub type HOST_FN1_SLC0HOST_RX_START_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `HOST_FN1_SLC0HOST_TX_START_INT_ENA` reader - "]
66pub type HOST_FN1_SLC0HOST_TX_START_INT_ENA_R = crate::BitReader;
67#[doc = "Field `HOST_FN1_SLC0HOST_TX_START_INT_ENA` writer - "]
68pub type HOST_FN1_SLC0HOST_TX_START_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
69#[doc = "Field `HOST_FN1_SLC0_RX_UDF_INT_ENA` reader - "]
70pub type HOST_FN1_SLC0_RX_UDF_INT_ENA_R = crate::BitReader;
71#[doc = "Field `HOST_FN1_SLC0_RX_UDF_INT_ENA` writer - "]
72pub type HOST_FN1_SLC0_RX_UDF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
73#[doc = "Field `HOST_FN1_SLC0_TX_OVF_INT_ENA` reader - "]
74pub type HOST_FN1_SLC0_TX_OVF_INT_ENA_R = crate::BitReader;
75#[doc = "Field `HOST_FN1_SLC0_TX_OVF_INT_ENA` writer - "]
76pub type HOST_FN1_SLC0_TX_OVF_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
77#[doc = "Field `HOST_FN1_SLC0_RX_PF_VALID_INT_ENA` reader - "]
78pub type HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_R = crate::BitReader;
79#[doc = "Field `HOST_FN1_SLC0_RX_PF_VALID_INT_ENA` writer - "]
80pub type HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
81#[doc = "Field `HOST_FN1_SLC0_EXT_BIT0_INT_ENA` reader - "]
82pub type HOST_FN1_SLC0_EXT_BIT0_INT_ENA_R = crate::BitReader;
83#[doc = "Field `HOST_FN1_SLC0_EXT_BIT0_INT_ENA` writer - "]
84pub type HOST_FN1_SLC0_EXT_BIT0_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
85#[doc = "Field `HOST_FN1_SLC0_EXT_BIT1_INT_ENA` reader - "]
86pub type HOST_FN1_SLC0_EXT_BIT1_INT_ENA_R = crate::BitReader;
87#[doc = "Field `HOST_FN1_SLC0_EXT_BIT1_INT_ENA` writer - "]
88pub type HOST_FN1_SLC0_EXT_BIT1_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
89#[doc = "Field `HOST_FN1_SLC0_EXT_BIT2_INT_ENA` reader - "]
90pub type HOST_FN1_SLC0_EXT_BIT2_INT_ENA_R = crate::BitReader;
91#[doc = "Field `HOST_FN1_SLC0_EXT_BIT2_INT_ENA` writer - "]
92pub type HOST_FN1_SLC0_EXT_BIT2_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
93#[doc = "Field `HOST_FN1_SLC0_EXT_BIT3_INT_ENA` reader - "]
94pub type HOST_FN1_SLC0_EXT_BIT3_INT_ENA_R = crate::BitReader;
95#[doc = "Field `HOST_FN1_SLC0_EXT_BIT3_INT_ENA` writer - "]
96pub type HOST_FN1_SLC0_EXT_BIT3_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
97#[doc = "Field `HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA` reader - "]
98pub type HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_R = crate::BitReader;
99#[doc = "Field `HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA` writer - "]
100pub type HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
101#[doc = "Field `HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA` reader - "]
102pub type HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_R = crate::BitReader;
103#[doc = "Field `HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA` writer - "]
104pub type HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
105#[doc = "Field `HOST_FN1_GPIO_SDIO_INT_ENA` reader - "]
106pub type HOST_FN1_GPIO_SDIO_INT_ENA_R = crate::BitReader;
107#[doc = "Field `HOST_FN1_GPIO_SDIO_INT_ENA` writer - "]
108pub type HOST_FN1_GPIO_SDIO_INT_ENA_W<'a, REG> = crate::BitWriter<'a, REG>;
109impl R {
110    #[doc = "Bit 0"]
111    #[inline(always)]
112    pub fn host_fn1_slc0_tohost_bit0_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_R {
113        HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_R::new((self.bits & 1) != 0)
114    }
115    #[doc = "Bit 1"]
116    #[inline(always)]
117    pub fn host_fn1_slc0_tohost_bit1_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_R {
118        HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_R::new(((self.bits >> 1) & 1) != 0)
119    }
120    #[doc = "Bit 2"]
121    #[inline(always)]
122    pub fn host_fn1_slc0_tohost_bit2_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_R {
123        HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_R::new(((self.bits >> 2) & 1) != 0)
124    }
125    #[doc = "Bit 3"]
126    #[inline(always)]
127    pub fn host_fn1_slc0_tohost_bit3_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_R {
128        HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_R::new(((self.bits >> 3) & 1) != 0)
129    }
130    #[doc = "Bit 4"]
131    #[inline(always)]
132    pub fn host_fn1_slc0_tohost_bit4_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_R {
133        HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_R::new(((self.bits >> 4) & 1) != 0)
134    }
135    #[doc = "Bit 5"]
136    #[inline(always)]
137    pub fn host_fn1_slc0_tohost_bit5_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_R {
138        HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_R::new(((self.bits >> 5) & 1) != 0)
139    }
140    #[doc = "Bit 6"]
141    #[inline(always)]
142    pub fn host_fn1_slc0_tohost_bit6_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_R {
143        HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_R::new(((self.bits >> 6) & 1) != 0)
144    }
145    #[doc = "Bit 7"]
146    #[inline(always)]
147    pub fn host_fn1_slc0_tohost_bit7_int_ena(&self) -> HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_R {
148        HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_R::new(((self.bits >> 7) & 1) != 0)
149    }
150    #[doc = "Bit 8"]
151    #[inline(always)]
152    pub fn host_fn1_slc0_token0_1to0_int_ena(&self) -> HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_R {
153        HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_R::new(((self.bits >> 8) & 1) != 0)
154    }
155    #[doc = "Bit 9"]
156    #[inline(always)]
157    pub fn host_fn1_slc0_token1_1to0_int_ena(&self) -> HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_R {
158        HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_R::new(((self.bits >> 9) & 1) != 0)
159    }
160    #[doc = "Bit 10"]
161    #[inline(always)]
162    pub fn host_fn1_slc0_token0_0to1_int_ena(&self) -> HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_R {
163        HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_R::new(((self.bits >> 10) & 1) != 0)
164    }
165    #[doc = "Bit 11"]
166    #[inline(always)]
167    pub fn host_fn1_slc0_token1_0to1_int_ena(&self) -> HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_R {
168        HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_R::new(((self.bits >> 11) & 1) != 0)
169    }
170    #[doc = "Bit 12"]
171    #[inline(always)]
172    pub fn host_fn1_slc0host_rx_sof_int_ena(&self) -> HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_R {
173        HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_R::new(((self.bits >> 12) & 1) != 0)
174    }
175    #[doc = "Bit 13"]
176    #[inline(always)]
177    pub fn host_fn1_slc0host_rx_eof_int_ena(&self) -> HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_R {
178        HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_R::new(((self.bits >> 13) & 1) != 0)
179    }
180    #[doc = "Bit 14"]
181    #[inline(always)]
182    pub fn host_fn1_slc0host_rx_start_int_ena(&self) -> HOST_FN1_SLC0HOST_RX_START_INT_ENA_R {
183        HOST_FN1_SLC0HOST_RX_START_INT_ENA_R::new(((self.bits >> 14) & 1) != 0)
184    }
185    #[doc = "Bit 15"]
186    #[inline(always)]
187    pub fn host_fn1_slc0host_tx_start_int_ena(&self) -> HOST_FN1_SLC0HOST_TX_START_INT_ENA_R {
188        HOST_FN1_SLC0HOST_TX_START_INT_ENA_R::new(((self.bits >> 15) & 1) != 0)
189    }
190    #[doc = "Bit 16"]
191    #[inline(always)]
192    pub fn host_fn1_slc0_rx_udf_int_ena(&self) -> HOST_FN1_SLC0_RX_UDF_INT_ENA_R {
193        HOST_FN1_SLC0_RX_UDF_INT_ENA_R::new(((self.bits >> 16) & 1) != 0)
194    }
195    #[doc = "Bit 17"]
196    #[inline(always)]
197    pub fn host_fn1_slc0_tx_ovf_int_ena(&self) -> HOST_FN1_SLC0_TX_OVF_INT_ENA_R {
198        HOST_FN1_SLC0_TX_OVF_INT_ENA_R::new(((self.bits >> 17) & 1) != 0)
199    }
200    #[doc = "Bit 18"]
201    #[inline(always)]
202    pub fn host_fn1_slc0_rx_pf_valid_int_ena(&self) -> HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_R {
203        HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_R::new(((self.bits >> 18) & 1) != 0)
204    }
205    #[doc = "Bit 19"]
206    #[inline(always)]
207    pub fn host_fn1_slc0_ext_bit0_int_ena(&self) -> HOST_FN1_SLC0_EXT_BIT0_INT_ENA_R {
208        HOST_FN1_SLC0_EXT_BIT0_INT_ENA_R::new(((self.bits >> 19) & 1) != 0)
209    }
210    #[doc = "Bit 20"]
211    #[inline(always)]
212    pub fn host_fn1_slc0_ext_bit1_int_ena(&self) -> HOST_FN1_SLC0_EXT_BIT1_INT_ENA_R {
213        HOST_FN1_SLC0_EXT_BIT1_INT_ENA_R::new(((self.bits >> 20) & 1) != 0)
214    }
215    #[doc = "Bit 21"]
216    #[inline(always)]
217    pub fn host_fn1_slc0_ext_bit2_int_ena(&self) -> HOST_FN1_SLC0_EXT_BIT2_INT_ENA_R {
218        HOST_FN1_SLC0_EXT_BIT2_INT_ENA_R::new(((self.bits >> 21) & 1) != 0)
219    }
220    #[doc = "Bit 22"]
221    #[inline(always)]
222    pub fn host_fn1_slc0_ext_bit3_int_ena(&self) -> HOST_FN1_SLC0_EXT_BIT3_INT_ENA_R {
223        HOST_FN1_SLC0_EXT_BIT3_INT_ENA_R::new(((self.bits >> 22) & 1) != 0)
224    }
225    #[doc = "Bit 23"]
226    #[inline(always)]
227    pub fn host_fn1_slc0_rx_new_packet_int_ena(&self) -> HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_R {
228        HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_R::new(((self.bits >> 23) & 1) != 0)
229    }
230    #[doc = "Bit 24"]
231    #[inline(always)]
232    pub fn host_fn1_slc0_host_rd_retry_int_ena(&self) -> HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_R {
233        HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_R::new(((self.bits >> 24) & 1) != 0)
234    }
235    #[doc = "Bit 25"]
236    #[inline(always)]
237    pub fn host_fn1_gpio_sdio_int_ena(&self) -> HOST_FN1_GPIO_SDIO_INT_ENA_R {
238        HOST_FN1_GPIO_SDIO_INT_ENA_R::new(((self.bits >> 25) & 1) != 0)
239    }
240}
241#[cfg(feature = "impl-register-debug")]
242impl core::fmt::Debug for R {
243    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
244        f.debug_struct("HOST_SLC0HOST_FUNC1_INT_ENA")
245            .field(
246                "host_fn1_slc0_tohost_bit0_int_ena",
247                &self.host_fn1_slc0_tohost_bit0_int_ena(),
248            )
249            .field(
250                "host_fn1_slc0_tohost_bit1_int_ena",
251                &self.host_fn1_slc0_tohost_bit1_int_ena(),
252            )
253            .field(
254                "host_fn1_slc0_tohost_bit2_int_ena",
255                &self.host_fn1_slc0_tohost_bit2_int_ena(),
256            )
257            .field(
258                "host_fn1_slc0_tohost_bit3_int_ena",
259                &self.host_fn1_slc0_tohost_bit3_int_ena(),
260            )
261            .field(
262                "host_fn1_slc0_tohost_bit4_int_ena",
263                &self.host_fn1_slc0_tohost_bit4_int_ena(),
264            )
265            .field(
266                "host_fn1_slc0_tohost_bit5_int_ena",
267                &self.host_fn1_slc0_tohost_bit5_int_ena(),
268            )
269            .field(
270                "host_fn1_slc0_tohost_bit6_int_ena",
271                &self.host_fn1_slc0_tohost_bit6_int_ena(),
272            )
273            .field(
274                "host_fn1_slc0_tohost_bit7_int_ena",
275                &self.host_fn1_slc0_tohost_bit7_int_ena(),
276            )
277            .field(
278                "host_fn1_slc0_token0_1to0_int_ena",
279                &self.host_fn1_slc0_token0_1to0_int_ena(),
280            )
281            .field(
282                "host_fn1_slc0_token1_1to0_int_ena",
283                &self.host_fn1_slc0_token1_1to0_int_ena(),
284            )
285            .field(
286                "host_fn1_slc0_token0_0to1_int_ena",
287                &self.host_fn1_slc0_token0_0to1_int_ena(),
288            )
289            .field(
290                "host_fn1_slc0_token1_0to1_int_ena",
291                &self.host_fn1_slc0_token1_0to1_int_ena(),
292            )
293            .field(
294                "host_fn1_slc0host_rx_sof_int_ena",
295                &self.host_fn1_slc0host_rx_sof_int_ena(),
296            )
297            .field(
298                "host_fn1_slc0host_rx_eof_int_ena",
299                &self.host_fn1_slc0host_rx_eof_int_ena(),
300            )
301            .field(
302                "host_fn1_slc0host_rx_start_int_ena",
303                &self.host_fn1_slc0host_rx_start_int_ena(),
304            )
305            .field(
306                "host_fn1_slc0host_tx_start_int_ena",
307                &self.host_fn1_slc0host_tx_start_int_ena(),
308            )
309            .field(
310                "host_fn1_slc0_rx_udf_int_ena",
311                &self.host_fn1_slc0_rx_udf_int_ena(),
312            )
313            .field(
314                "host_fn1_slc0_tx_ovf_int_ena",
315                &self.host_fn1_slc0_tx_ovf_int_ena(),
316            )
317            .field(
318                "host_fn1_slc0_rx_pf_valid_int_ena",
319                &self.host_fn1_slc0_rx_pf_valid_int_ena(),
320            )
321            .field(
322                "host_fn1_slc0_ext_bit0_int_ena",
323                &self.host_fn1_slc0_ext_bit0_int_ena(),
324            )
325            .field(
326                "host_fn1_slc0_ext_bit1_int_ena",
327                &self.host_fn1_slc0_ext_bit1_int_ena(),
328            )
329            .field(
330                "host_fn1_slc0_ext_bit2_int_ena",
331                &self.host_fn1_slc0_ext_bit2_int_ena(),
332            )
333            .field(
334                "host_fn1_slc0_ext_bit3_int_ena",
335                &self.host_fn1_slc0_ext_bit3_int_ena(),
336            )
337            .field(
338                "host_fn1_slc0_rx_new_packet_int_ena",
339                &self.host_fn1_slc0_rx_new_packet_int_ena(),
340            )
341            .field(
342                "host_fn1_slc0_host_rd_retry_int_ena",
343                &self.host_fn1_slc0_host_rd_retry_int_ena(),
344            )
345            .field(
346                "host_fn1_gpio_sdio_int_ena",
347                &self.host_fn1_gpio_sdio_int_ena(),
348            )
349            .finish()
350    }
351}
352impl W {
353    #[doc = "Bit 0"]
354    #[inline(always)]
355    pub fn host_fn1_slc0_tohost_bit0_int_ena(
356        &mut self,
357    ) -> HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
358        HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_W::new(self, 0)
359    }
360    #[doc = "Bit 1"]
361    #[inline(always)]
362    pub fn host_fn1_slc0_tohost_bit1_int_ena(
363        &mut self,
364    ) -> HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
365        HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_W::new(self, 1)
366    }
367    #[doc = "Bit 2"]
368    #[inline(always)]
369    pub fn host_fn1_slc0_tohost_bit2_int_ena(
370        &mut self,
371    ) -> HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
372        HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_W::new(self, 2)
373    }
374    #[doc = "Bit 3"]
375    #[inline(always)]
376    pub fn host_fn1_slc0_tohost_bit3_int_ena(
377        &mut self,
378    ) -> HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
379        HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_W::new(self, 3)
380    }
381    #[doc = "Bit 4"]
382    #[inline(always)]
383    pub fn host_fn1_slc0_tohost_bit4_int_ena(
384        &mut self,
385    ) -> HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
386        HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_W::new(self, 4)
387    }
388    #[doc = "Bit 5"]
389    #[inline(always)]
390    pub fn host_fn1_slc0_tohost_bit5_int_ena(
391        &mut self,
392    ) -> HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
393        HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_W::new(self, 5)
394    }
395    #[doc = "Bit 6"]
396    #[inline(always)]
397    pub fn host_fn1_slc0_tohost_bit6_int_ena(
398        &mut self,
399    ) -> HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
400        HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_W::new(self, 6)
401    }
402    #[doc = "Bit 7"]
403    #[inline(always)]
404    pub fn host_fn1_slc0_tohost_bit7_int_ena(
405        &mut self,
406    ) -> HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
407        HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_W::new(self, 7)
408    }
409    #[doc = "Bit 8"]
410    #[inline(always)]
411    pub fn host_fn1_slc0_token0_1to0_int_ena(
412        &mut self,
413    ) -> HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
414        HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_W::new(self, 8)
415    }
416    #[doc = "Bit 9"]
417    #[inline(always)]
418    pub fn host_fn1_slc0_token1_1to0_int_ena(
419        &mut self,
420    ) -> HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
421        HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_W::new(self, 9)
422    }
423    #[doc = "Bit 10"]
424    #[inline(always)]
425    pub fn host_fn1_slc0_token0_0to1_int_ena(
426        &mut self,
427    ) -> HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
428        HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_W::new(self, 10)
429    }
430    #[doc = "Bit 11"]
431    #[inline(always)]
432    pub fn host_fn1_slc0_token1_0to1_int_ena(
433        &mut self,
434    ) -> HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
435        HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_W::new(self, 11)
436    }
437    #[doc = "Bit 12"]
438    #[inline(always)]
439    pub fn host_fn1_slc0host_rx_sof_int_ena(
440        &mut self,
441    ) -> HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
442        HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_W::new(self, 12)
443    }
444    #[doc = "Bit 13"]
445    #[inline(always)]
446    pub fn host_fn1_slc0host_rx_eof_int_ena(
447        &mut self,
448    ) -> HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
449        HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_W::new(self, 13)
450    }
451    #[doc = "Bit 14"]
452    #[inline(always)]
453    pub fn host_fn1_slc0host_rx_start_int_ena(
454        &mut self,
455    ) -> HOST_FN1_SLC0HOST_RX_START_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
456        HOST_FN1_SLC0HOST_RX_START_INT_ENA_W::new(self, 14)
457    }
458    #[doc = "Bit 15"]
459    #[inline(always)]
460    pub fn host_fn1_slc0host_tx_start_int_ena(
461        &mut self,
462    ) -> HOST_FN1_SLC0HOST_TX_START_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
463        HOST_FN1_SLC0HOST_TX_START_INT_ENA_W::new(self, 15)
464    }
465    #[doc = "Bit 16"]
466    #[inline(always)]
467    pub fn host_fn1_slc0_rx_udf_int_ena(
468        &mut self,
469    ) -> HOST_FN1_SLC0_RX_UDF_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
470        HOST_FN1_SLC0_RX_UDF_INT_ENA_W::new(self, 16)
471    }
472    #[doc = "Bit 17"]
473    #[inline(always)]
474    pub fn host_fn1_slc0_tx_ovf_int_ena(
475        &mut self,
476    ) -> HOST_FN1_SLC0_TX_OVF_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
477        HOST_FN1_SLC0_TX_OVF_INT_ENA_W::new(self, 17)
478    }
479    #[doc = "Bit 18"]
480    #[inline(always)]
481    pub fn host_fn1_slc0_rx_pf_valid_int_ena(
482        &mut self,
483    ) -> HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
484        HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_W::new(self, 18)
485    }
486    #[doc = "Bit 19"]
487    #[inline(always)]
488    pub fn host_fn1_slc0_ext_bit0_int_ena(
489        &mut self,
490    ) -> HOST_FN1_SLC0_EXT_BIT0_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
491        HOST_FN1_SLC0_EXT_BIT0_INT_ENA_W::new(self, 19)
492    }
493    #[doc = "Bit 20"]
494    #[inline(always)]
495    pub fn host_fn1_slc0_ext_bit1_int_ena(
496        &mut self,
497    ) -> HOST_FN1_SLC0_EXT_BIT1_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
498        HOST_FN1_SLC0_EXT_BIT1_INT_ENA_W::new(self, 20)
499    }
500    #[doc = "Bit 21"]
501    #[inline(always)]
502    pub fn host_fn1_slc0_ext_bit2_int_ena(
503        &mut self,
504    ) -> HOST_FN1_SLC0_EXT_BIT2_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
505        HOST_FN1_SLC0_EXT_BIT2_INT_ENA_W::new(self, 21)
506    }
507    #[doc = "Bit 22"]
508    #[inline(always)]
509    pub fn host_fn1_slc0_ext_bit3_int_ena(
510        &mut self,
511    ) -> HOST_FN1_SLC0_EXT_BIT3_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
512        HOST_FN1_SLC0_EXT_BIT3_INT_ENA_W::new(self, 22)
513    }
514    #[doc = "Bit 23"]
515    #[inline(always)]
516    pub fn host_fn1_slc0_rx_new_packet_int_ena(
517        &mut self,
518    ) -> HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
519        HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_W::new(self, 23)
520    }
521    #[doc = "Bit 24"]
522    #[inline(always)]
523    pub fn host_fn1_slc0_host_rd_retry_int_ena(
524        &mut self,
525    ) -> HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
526        HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_W::new(self, 24)
527    }
528    #[doc = "Bit 25"]
529    #[inline(always)]
530    pub fn host_fn1_gpio_sdio_int_ena(
531        &mut self,
532    ) -> HOST_FN1_GPIO_SDIO_INT_ENA_W<HOST_SLC0HOST_FUNC1_INT_ENA_SPEC> {
533        HOST_FN1_GPIO_SDIO_INT_ENA_W::new(self, 25)
534    }
535}
536#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`host_slc0host_func1_int_ena::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`host_slc0host_func1_int_ena::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
537pub struct HOST_SLC0HOST_FUNC1_INT_ENA_SPEC;
538impl crate::RegisterSpec for HOST_SLC0HOST_FUNC1_INT_ENA_SPEC {
539    type Ux = u32;
540}
541#[doc = "`read()` method returns [`host_slc0host_func1_int_ena::R`](R) reader structure"]
542impl crate::Readable for HOST_SLC0HOST_FUNC1_INT_ENA_SPEC {}
543#[doc = "`write(|w| ..)` method takes [`host_slc0host_func1_int_ena::W`](W) writer structure"]
544impl crate::Writable for HOST_SLC0HOST_FUNC1_INT_ENA_SPEC {
545    type Safety = crate::Unsafe;
546    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
547    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
548}
549#[doc = "`reset()` method sets HOST_SLC0HOST_FUNC1_INT_ENA to value 0"]
550impl crate::Resettable for HOST_SLC0HOST_FUNC1_INT_ENA_SPEC {
551    const RESET_VALUE: u32 = 0;
552}