esp32/slchost/
host_slc1host_int_st.rs1#[doc = "Register `HOST_SLC1HOST_INT_ST` reader"]
2pub type R = crate::R<HOST_SLC1HOST_INT_ST_SPEC>;
3#[doc = "Field `HOST_SLC1_TOHOST_BIT0_INT_ST` reader - "]
4pub type HOST_SLC1_TOHOST_BIT0_INT_ST_R = crate::BitReader;
5#[doc = "Field `HOST_SLC1_TOHOST_BIT1_INT_ST` reader - "]
6pub type HOST_SLC1_TOHOST_BIT1_INT_ST_R = crate::BitReader;
7#[doc = "Field `HOST_SLC1_TOHOST_BIT2_INT_ST` reader - "]
8pub type HOST_SLC1_TOHOST_BIT2_INT_ST_R = crate::BitReader;
9#[doc = "Field `HOST_SLC1_TOHOST_BIT3_INT_ST` reader - "]
10pub type HOST_SLC1_TOHOST_BIT3_INT_ST_R = crate::BitReader;
11#[doc = "Field `HOST_SLC1_TOHOST_BIT4_INT_ST` reader - "]
12pub type HOST_SLC1_TOHOST_BIT4_INT_ST_R = crate::BitReader;
13#[doc = "Field `HOST_SLC1_TOHOST_BIT5_INT_ST` reader - "]
14pub type HOST_SLC1_TOHOST_BIT5_INT_ST_R = crate::BitReader;
15#[doc = "Field `HOST_SLC1_TOHOST_BIT6_INT_ST` reader - "]
16pub type HOST_SLC1_TOHOST_BIT6_INT_ST_R = crate::BitReader;
17#[doc = "Field `HOST_SLC1_TOHOST_BIT7_INT_ST` reader - "]
18pub type HOST_SLC1_TOHOST_BIT7_INT_ST_R = crate::BitReader;
19#[doc = "Field `HOST_SLC1_TOKEN0_1TO0_INT_ST` reader - "]
20pub type HOST_SLC1_TOKEN0_1TO0_INT_ST_R = crate::BitReader;
21#[doc = "Field `HOST_SLC1_TOKEN1_1TO0_INT_ST` reader - "]
22pub type HOST_SLC1_TOKEN1_1TO0_INT_ST_R = crate::BitReader;
23#[doc = "Field `HOST_SLC1_TOKEN0_0TO1_INT_ST` reader - "]
24pub type HOST_SLC1_TOKEN0_0TO1_INT_ST_R = crate::BitReader;
25#[doc = "Field `HOST_SLC1_TOKEN1_0TO1_INT_ST` reader - "]
26pub type HOST_SLC1_TOKEN1_0TO1_INT_ST_R = crate::BitReader;
27#[doc = "Field `HOST_SLC1HOST_RX_SOF_INT_ST` reader - "]
28pub type HOST_SLC1HOST_RX_SOF_INT_ST_R = crate::BitReader;
29#[doc = "Field `HOST_SLC1HOST_RX_EOF_INT_ST` reader - "]
30pub type HOST_SLC1HOST_RX_EOF_INT_ST_R = crate::BitReader;
31#[doc = "Field `HOST_SLC1HOST_RX_START_INT_ST` reader - "]
32pub type HOST_SLC1HOST_RX_START_INT_ST_R = crate::BitReader;
33#[doc = "Field `HOST_SLC1HOST_TX_START_INT_ST` reader - "]
34pub type HOST_SLC1HOST_TX_START_INT_ST_R = crate::BitReader;
35#[doc = "Field `HOST_SLC1_RX_UDF_INT_ST` reader - "]
36pub type HOST_SLC1_RX_UDF_INT_ST_R = crate::BitReader;
37#[doc = "Field `HOST_SLC1_TX_OVF_INT_ST` reader - "]
38pub type HOST_SLC1_TX_OVF_INT_ST_R = crate::BitReader;
39#[doc = "Field `HOST_SLC1_RX_PF_VALID_INT_ST` reader - "]
40pub type HOST_SLC1_RX_PF_VALID_INT_ST_R = crate::BitReader;
41#[doc = "Field `HOST_SLC1_EXT_BIT0_INT_ST` reader - "]
42pub type HOST_SLC1_EXT_BIT0_INT_ST_R = crate::BitReader;
43#[doc = "Field `HOST_SLC1_EXT_BIT1_INT_ST` reader - "]
44pub type HOST_SLC1_EXT_BIT1_INT_ST_R = crate::BitReader;
45#[doc = "Field `HOST_SLC1_EXT_BIT2_INT_ST` reader - "]
46pub type HOST_SLC1_EXT_BIT2_INT_ST_R = crate::BitReader;
47#[doc = "Field `HOST_SLC1_EXT_BIT3_INT_ST` reader - "]
48pub type HOST_SLC1_EXT_BIT3_INT_ST_R = crate::BitReader;
49#[doc = "Field `HOST_SLC1_WIFI_RX_NEW_PACKET_INT_ST` reader - "]
50pub type HOST_SLC1_WIFI_RX_NEW_PACKET_INT_ST_R = crate::BitReader;
51#[doc = "Field `HOST_SLC1_HOST_RD_RETRY_INT_ST` reader - "]
52pub type HOST_SLC1_HOST_RD_RETRY_INT_ST_R = crate::BitReader;
53#[doc = "Field `HOST_SLC1_BT_RX_NEW_PACKET_INT_ST` reader - "]
54pub type HOST_SLC1_BT_RX_NEW_PACKET_INT_ST_R = crate::BitReader;
55impl R {
56 #[doc = "Bit 0"]
57 #[inline(always)]
58 pub fn host_slc1_tohost_bit0_int_st(&self) -> HOST_SLC1_TOHOST_BIT0_INT_ST_R {
59 HOST_SLC1_TOHOST_BIT0_INT_ST_R::new((self.bits & 1) != 0)
60 }
61 #[doc = "Bit 1"]
62 #[inline(always)]
63 pub fn host_slc1_tohost_bit1_int_st(&self) -> HOST_SLC1_TOHOST_BIT1_INT_ST_R {
64 HOST_SLC1_TOHOST_BIT1_INT_ST_R::new(((self.bits >> 1) & 1) != 0)
65 }
66 #[doc = "Bit 2"]
67 #[inline(always)]
68 pub fn host_slc1_tohost_bit2_int_st(&self) -> HOST_SLC1_TOHOST_BIT2_INT_ST_R {
69 HOST_SLC1_TOHOST_BIT2_INT_ST_R::new(((self.bits >> 2) & 1) != 0)
70 }
71 #[doc = "Bit 3"]
72 #[inline(always)]
73 pub fn host_slc1_tohost_bit3_int_st(&self) -> HOST_SLC1_TOHOST_BIT3_INT_ST_R {
74 HOST_SLC1_TOHOST_BIT3_INT_ST_R::new(((self.bits >> 3) & 1) != 0)
75 }
76 #[doc = "Bit 4"]
77 #[inline(always)]
78 pub fn host_slc1_tohost_bit4_int_st(&self) -> HOST_SLC1_TOHOST_BIT4_INT_ST_R {
79 HOST_SLC1_TOHOST_BIT4_INT_ST_R::new(((self.bits >> 4) & 1) != 0)
80 }
81 #[doc = "Bit 5"]
82 #[inline(always)]
83 pub fn host_slc1_tohost_bit5_int_st(&self) -> HOST_SLC1_TOHOST_BIT5_INT_ST_R {
84 HOST_SLC1_TOHOST_BIT5_INT_ST_R::new(((self.bits >> 5) & 1) != 0)
85 }
86 #[doc = "Bit 6"]
87 #[inline(always)]
88 pub fn host_slc1_tohost_bit6_int_st(&self) -> HOST_SLC1_TOHOST_BIT6_INT_ST_R {
89 HOST_SLC1_TOHOST_BIT6_INT_ST_R::new(((self.bits >> 6) & 1) != 0)
90 }
91 #[doc = "Bit 7"]
92 #[inline(always)]
93 pub fn host_slc1_tohost_bit7_int_st(&self) -> HOST_SLC1_TOHOST_BIT7_INT_ST_R {
94 HOST_SLC1_TOHOST_BIT7_INT_ST_R::new(((self.bits >> 7) & 1) != 0)
95 }
96 #[doc = "Bit 8"]
97 #[inline(always)]
98 pub fn host_slc1_token0_1to0_int_st(&self) -> HOST_SLC1_TOKEN0_1TO0_INT_ST_R {
99 HOST_SLC1_TOKEN0_1TO0_INT_ST_R::new(((self.bits >> 8) & 1) != 0)
100 }
101 #[doc = "Bit 9"]
102 #[inline(always)]
103 pub fn host_slc1_token1_1to0_int_st(&self) -> HOST_SLC1_TOKEN1_1TO0_INT_ST_R {
104 HOST_SLC1_TOKEN1_1TO0_INT_ST_R::new(((self.bits >> 9) & 1) != 0)
105 }
106 #[doc = "Bit 10"]
107 #[inline(always)]
108 pub fn host_slc1_token0_0to1_int_st(&self) -> HOST_SLC1_TOKEN0_0TO1_INT_ST_R {
109 HOST_SLC1_TOKEN0_0TO1_INT_ST_R::new(((self.bits >> 10) & 1) != 0)
110 }
111 #[doc = "Bit 11"]
112 #[inline(always)]
113 pub fn host_slc1_token1_0to1_int_st(&self) -> HOST_SLC1_TOKEN1_0TO1_INT_ST_R {
114 HOST_SLC1_TOKEN1_0TO1_INT_ST_R::new(((self.bits >> 11) & 1) != 0)
115 }
116 #[doc = "Bit 12"]
117 #[inline(always)]
118 pub fn host_slc1host_rx_sof_int_st(&self) -> HOST_SLC1HOST_RX_SOF_INT_ST_R {
119 HOST_SLC1HOST_RX_SOF_INT_ST_R::new(((self.bits >> 12) & 1) != 0)
120 }
121 #[doc = "Bit 13"]
122 #[inline(always)]
123 pub fn host_slc1host_rx_eof_int_st(&self) -> HOST_SLC1HOST_RX_EOF_INT_ST_R {
124 HOST_SLC1HOST_RX_EOF_INT_ST_R::new(((self.bits >> 13) & 1) != 0)
125 }
126 #[doc = "Bit 14"]
127 #[inline(always)]
128 pub fn host_slc1host_rx_start_int_st(&self) -> HOST_SLC1HOST_RX_START_INT_ST_R {
129 HOST_SLC1HOST_RX_START_INT_ST_R::new(((self.bits >> 14) & 1) != 0)
130 }
131 #[doc = "Bit 15"]
132 #[inline(always)]
133 pub fn host_slc1host_tx_start_int_st(&self) -> HOST_SLC1HOST_TX_START_INT_ST_R {
134 HOST_SLC1HOST_TX_START_INT_ST_R::new(((self.bits >> 15) & 1) != 0)
135 }
136 #[doc = "Bit 16"]
137 #[inline(always)]
138 pub fn host_slc1_rx_udf_int_st(&self) -> HOST_SLC1_RX_UDF_INT_ST_R {
139 HOST_SLC1_RX_UDF_INT_ST_R::new(((self.bits >> 16) & 1) != 0)
140 }
141 #[doc = "Bit 17"]
142 #[inline(always)]
143 pub fn host_slc1_tx_ovf_int_st(&self) -> HOST_SLC1_TX_OVF_INT_ST_R {
144 HOST_SLC1_TX_OVF_INT_ST_R::new(((self.bits >> 17) & 1) != 0)
145 }
146 #[doc = "Bit 18"]
147 #[inline(always)]
148 pub fn host_slc1_rx_pf_valid_int_st(&self) -> HOST_SLC1_RX_PF_VALID_INT_ST_R {
149 HOST_SLC1_RX_PF_VALID_INT_ST_R::new(((self.bits >> 18) & 1) != 0)
150 }
151 #[doc = "Bit 19"]
152 #[inline(always)]
153 pub fn host_slc1_ext_bit0_int_st(&self) -> HOST_SLC1_EXT_BIT0_INT_ST_R {
154 HOST_SLC1_EXT_BIT0_INT_ST_R::new(((self.bits >> 19) & 1) != 0)
155 }
156 #[doc = "Bit 20"]
157 #[inline(always)]
158 pub fn host_slc1_ext_bit1_int_st(&self) -> HOST_SLC1_EXT_BIT1_INT_ST_R {
159 HOST_SLC1_EXT_BIT1_INT_ST_R::new(((self.bits >> 20) & 1) != 0)
160 }
161 #[doc = "Bit 21"]
162 #[inline(always)]
163 pub fn host_slc1_ext_bit2_int_st(&self) -> HOST_SLC1_EXT_BIT2_INT_ST_R {
164 HOST_SLC1_EXT_BIT2_INT_ST_R::new(((self.bits >> 21) & 1) != 0)
165 }
166 #[doc = "Bit 22"]
167 #[inline(always)]
168 pub fn host_slc1_ext_bit3_int_st(&self) -> HOST_SLC1_EXT_BIT3_INT_ST_R {
169 HOST_SLC1_EXT_BIT3_INT_ST_R::new(((self.bits >> 22) & 1) != 0)
170 }
171 #[doc = "Bit 23"]
172 #[inline(always)]
173 pub fn host_slc1_wifi_rx_new_packet_int_st(&self) -> HOST_SLC1_WIFI_RX_NEW_PACKET_INT_ST_R {
174 HOST_SLC1_WIFI_RX_NEW_PACKET_INT_ST_R::new(((self.bits >> 23) & 1) != 0)
175 }
176 #[doc = "Bit 24"]
177 #[inline(always)]
178 pub fn host_slc1_host_rd_retry_int_st(&self) -> HOST_SLC1_HOST_RD_RETRY_INT_ST_R {
179 HOST_SLC1_HOST_RD_RETRY_INT_ST_R::new(((self.bits >> 24) & 1) != 0)
180 }
181 #[doc = "Bit 25"]
182 #[inline(always)]
183 pub fn host_slc1_bt_rx_new_packet_int_st(&self) -> HOST_SLC1_BT_RX_NEW_PACKET_INT_ST_R {
184 HOST_SLC1_BT_RX_NEW_PACKET_INT_ST_R::new(((self.bits >> 25) & 1) != 0)
185 }
186}
187#[cfg(feature = "impl-register-debug")]
188impl core::fmt::Debug for R {
189 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
190 f.debug_struct("HOST_SLC1HOST_INT_ST")
191 .field(
192 "host_slc1_tohost_bit0_int_st",
193 &self.host_slc1_tohost_bit0_int_st(),
194 )
195 .field(
196 "host_slc1_tohost_bit1_int_st",
197 &self.host_slc1_tohost_bit1_int_st(),
198 )
199 .field(
200 "host_slc1_tohost_bit2_int_st",
201 &self.host_slc1_tohost_bit2_int_st(),
202 )
203 .field(
204 "host_slc1_tohost_bit3_int_st",
205 &self.host_slc1_tohost_bit3_int_st(),
206 )
207 .field(
208 "host_slc1_tohost_bit4_int_st",
209 &self.host_slc1_tohost_bit4_int_st(),
210 )
211 .field(
212 "host_slc1_tohost_bit5_int_st",
213 &self.host_slc1_tohost_bit5_int_st(),
214 )
215 .field(
216 "host_slc1_tohost_bit6_int_st",
217 &self.host_slc1_tohost_bit6_int_st(),
218 )
219 .field(
220 "host_slc1_tohost_bit7_int_st",
221 &self.host_slc1_tohost_bit7_int_st(),
222 )
223 .field(
224 "host_slc1_token0_1to0_int_st",
225 &self.host_slc1_token0_1to0_int_st(),
226 )
227 .field(
228 "host_slc1_token1_1to0_int_st",
229 &self.host_slc1_token1_1to0_int_st(),
230 )
231 .field(
232 "host_slc1_token0_0to1_int_st",
233 &self.host_slc1_token0_0to1_int_st(),
234 )
235 .field(
236 "host_slc1_token1_0to1_int_st",
237 &self.host_slc1_token1_0to1_int_st(),
238 )
239 .field(
240 "host_slc1host_rx_sof_int_st",
241 &self.host_slc1host_rx_sof_int_st(),
242 )
243 .field(
244 "host_slc1host_rx_eof_int_st",
245 &self.host_slc1host_rx_eof_int_st(),
246 )
247 .field(
248 "host_slc1host_rx_start_int_st",
249 &self.host_slc1host_rx_start_int_st(),
250 )
251 .field(
252 "host_slc1host_tx_start_int_st",
253 &self.host_slc1host_tx_start_int_st(),
254 )
255 .field("host_slc1_rx_udf_int_st", &self.host_slc1_rx_udf_int_st())
256 .field("host_slc1_tx_ovf_int_st", &self.host_slc1_tx_ovf_int_st())
257 .field(
258 "host_slc1_rx_pf_valid_int_st",
259 &self.host_slc1_rx_pf_valid_int_st(),
260 )
261 .field(
262 "host_slc1_ext_bit0_int_st",
263 &self.host_slc1_ext_bit0_int_st(),
264 )
265 .field(
266 "host_slc1_ext_bit1_int_st",
267 &self.host_slc1_ext_bit1_int_st(),
268 )
269 .field(
270 "host_slc1_ext_bit2_int_st",
271 &self.host_slc1_ext_bit2_int_st(),
272 )
273 .field(
274 "host_slc1_ext_bit3_int_st",
275 &self.host_slc1_ext_bit3_int_st(),
276 )
277 .field(
278 "host_slc1_wifi_rx_new_packet_int_st",
279 &self.host_slc1_wifi_rx_new_packet_int_st(),
280 )
281 .field(
282 "host_slc1_host_rd_retry_int_st",
283 &self.host_slc1_host_rd_retry_int_st(),
284 )
285 .field(
286 "host_slc1_bt_rx_new_packet_int_st",
287 &self.host_slc1_bt_rx_new_packet_int_st(),
288 )
289 .finish()
290 }
291}
292#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`host_slc1host_int_st::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
293pub struct HOST_SLC1HOST_INT_ST_SPEC;
294impl crate::RegisterSpec for HOST_SLC1HOST_INT_ST_SPEC {
295 type Ux = u32;
296}
297#[doc = "`read()` method returns [`host_slc1host_int_st::R`](R) reader structure"]
298impl crate::Readable for HOST_SLC1HOST_INT_ST_SPEC {}
299#[doc = "`reset()` method sets HOST_SLC1HOST_INT_ST to value 0"]
300impl crate::Resettable for HOST_SLC1HOST_INT_ST_SPEC {
301 const RESET_VALUE: u32 = 0;
302}