esp32c3/uart0/
int_raw.rs

1#[doc = "Register `INT_RAW` reader"]
2pub type R = crate::R<INT_RAW_SPEC>;
3#[doc = "Register `INT_RAW` writer"]
4pub type W = crate::W<INT_RAW_SPEC>;
5#[doc = "Field `RXFIFO_FULL` reader - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."]
6pub type RXFIFO_FULL_R = crate::BitReader;
7#[doc = "Field `RXFIFO_FULL` writer - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."]
8pub type RXFIFO_FULL_W<'a, REG> = crate::BitWriter<'a, REG>;
9#[doc = "Field `TXFIFO_EMPTY` reader - This interrupt raw bit turns to high level when the amount of data in Tx-FIFO is less than what txfifo_empty_thrhd specifies ."]
10pub type TXFIFO_EMPTY_R = crate::BitReader;
11#[doc = "Field `TXFIFO_EMPTY` writer - This interrupt raw bit turns to high level when the amount of data in Tx-FIFO is less than what txfifo_empty_thrhd specifies ."]
12pub type TXFIFO_EMPTY_W<'a, REG> = crate::BitWriter<'a, REG>;
13#[doc = "Field `PARITY_ERR` reader - This interrupt raw bit turns to high level when receiver detects a parity error in the data."]
14pub type PARITY_ERR_R = crate::BitReader;
15#[doc = "Field `PARITY_ERR` writer - This interrupt raw bit turns to high level when receiver detects a parity error in the data."]
16pub type PARITY_ERR_W<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `FRM_ERR` reader - This interrupt raw bit turns to high level when receiver detects a data frame error ."]
18pub type FRM_ERR_R = crate::BitReader;
19#[doc = "Field `FRM_ERR` writer - This interrupt raw bit turns to high level when receiver detects a data frame error ."]
20pub type FRM_ERR_W<'a, REG> = crate::BitWriter<'a, REG>;
21#[doc = "Field `RXFIFO_OVF` reader - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."]
22pub type RXFIFO_OVF_R = crate::BitReader;
23#[doc = "Field `RXFIFO_OVF` writer - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."]
24pub type RXFIFO_OVF_W<'a, REG> = crate::BitWriter<'a, REG>;
25#[doc = "Field `DSR_CHG` reader - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."]
26pub type DSR_CHG_R = crate::BitReader;
27#[doc = "Field `DSR_CHG` writer - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."]
28pub type DSR_CHG_W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `CTS_CHG` reader - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."]
30pub type CTS_CHG_R = crate::BitReader;
31#[doc = "Field `CTS_CHG` writer - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."]
32pub type CTS_CHG_W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `BRK_DET` reader - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."]
34pub type BRK_DET_R = crate::BitReader;
35#[doc = "Field `BRK_DET` writer - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."]
36pub type BRK_DET_W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `RXFIFO_TOUT` reader - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."]
38pub type RXFIFO_TOUT_R = crate::BitReader;
39#[doc = "Field `RXFIFO_TOUT` writer - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."]
40pub type RXFIFO_TOUT_W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `SW_XON` reader - This interrupt raw bit turns to high level when receiver recevies Xon char when uart_sw_flow_con_en is set to 1."]
42pub type SW_XON_R = crate::BitReader;
43#[doc = "Field `SW_XON` writer - This interrupt raw bit turns to high level when receiver recevies Xon char when uart_sw_flow_con_en is set to 1."]
44pub type SW_XON_W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `SW_XOFF` reader - This interrupt raw bit turns to high level when receiver receives Xoff char when uart_sw_flow_con_en is set to 1."]
46pub type SW_XOFF_R = crate::BitReader;
47#[doc = "Field `SW_XOFF` writer - This interrupt raw bit turns to high level when receiver receives Xoff char when uart_sw_flow_con_en is set to 1."]
48pub type SW_XOFF_W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `GLITCH_DET` reader - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."]
50pub type GLITCH_DET_R = crate::BitReader;
51#[doc = "Field `GLITCH_DET` writer - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."]
52pub type GLITCH_DET_W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `TX_BRK_DONE` reader - This interrupt raw bit turns to high level when transmitter completes sending NULL characters, after all data in Tx-FIFO are sent."]
54pub type TX_BRK_DONE_R = crate::BitReader;
55#[doc = "Field `TX_BRK_DONE` writer - This interrupt raw bit turns to high level when transmitter completes sending NULL characters, after all data in Tx-FIFO are sent."]
56pub type TX_BRK_DONE_W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `TX_BRK_IDLE_DONE` reader - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."]
58pub type TX_BRK_IDLE_DONE_R = crate::BitReader;
59#[doc = "Field `TX_BRK_IDLE_DONE` writer - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."]
60pub type TX_BRK_IDLE_DONE_W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `TX_DONE` reader - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."]
62pub type TX_DONE_R = crate::BitReader;
63#[doc = "Field `TX_DONE` writer - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."]
64pub type TX_DONE_W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `RS485_PARITY_ERR` reader - This interrupt raw bit turns to high level when receiver detects a parity error from the echo of transmitter in rs485 mode."]
66pub type RS485_PARITY_ERR_R = crate::BitReader;
67#[doc = "Field `RS485_PARITY_ERR` writer - This interrupt raw bit turns to high level when receiver detects a parity error from the echo of transmitter in rs485 mode."]
68pub type RS485_PARITY_ERR_W<'a, REG> = crate::BitWriter<'a, REG>;
69#[doc = "Field `RS485_FRM_ERR` reader - This interrupt raw bit turns to high level when receiver detects a data frame error from the echo of transmitter in rs485 mode."]
70pub type RS485_FRM_ERR_R = crate::BitReader;
71#[doc = "Field `RS485_FRM_ERR` writer - This interrupt raw bit turns to high level when receiver detects a data frame error from the echo of transmitter in rs485 mode."]
72pub type RS485_FRM_ERR_W<'a, REG> = crate::BitWriter<'a, REG>;
73#[doc = "Field `RS485_CLASH` reader - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."]
74pub type RS485_CLASH_R = crate::BitReader;
75#[doc = "Field `RS485_CLASH` writer - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."]
76pub type RS485_CLASH_W<'a, REG> = crate::BitWriter<'a, REG>;
77#[doc = "Field `AT_CMD_CHAR_DET` reader - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."]
78pub type AT_CMD_CHAR_DET_R = crate::BitReader;
79#[doc = "Field `AT_CMD_CHAR_DET` writer - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."]
80pub type AT_CMD_CHAR_DET_W<'a, REG> = crate::BitWriter<'a, REG>;
81#[doc = "Field `WAKEUP` reader - This interrupt raw bit turns to high level when input rxd edge changes more times than what reg_active_threshold specifies in light sleeping mode."]
82pub type WAKEUP_R = crate::BitReader;
83#[doc = "Field `WAKEUP` writer - This interrupt raw bit turns to high level when input rxd edge changes more times than what reg_active_threshold specifies in light sleeping mode."]
84pub type WAKEUP_W<'a, REG> = crate::BitWriter<'a, REG>;
85impl R {
86    #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."]
87    #[inline(always)]
88    pub fn rxfifo_full(&self) -> RXFIFO_FULL_R {
89        RXFIFO_FULL_R::new((self.bits & 1) != 0)
90    }
91    #[doc = "Bit 1 - This interrupt raw bit turns to high level when the amount of data in Tx-FIFO is less than what txfifo_empty_thrhd specifies ."]
92    #[inline(always)]
93    pub fn txfifo_empty(&self) -> TXFIFO_EMPTY_R {
94        TXFIFO_EMPTY_R::new(((self.bits >> 1) & 1) != 0)
95    }
96    #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."]
97    #[inline(always)]
98    pub fn parity_err(&self) -> PARITY_ERR_R {
99        PARITY_ERR_R::new(((self.bits >> 2) & 1) != 0)
100    }
101    #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."]
102    #[inline(always)]
103    pub fn frm_err(&self) -> FRM_ERR_R {
104        FRM_ERR_R::new(((self.bits >> 3) & 1) != 0)
105    }
106    #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."]
107    #[inline(always)]
108    pub fn rxfifo_ovf(&self) -> RXFIFO_OVF_R {
109        RXFIFO_OVF_R::new(((self.bits >> 4) & 1) != 0)
110    }
111    #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."]
112    #[inline(always)]
113    pub fn dsr_chg(&self) -> DSR_CHG_R {
114        DSR_CHG_R::new(((self.bits >> 5) & 1) != 0)
115    }
116    #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."]
117    #[inline(always)]
118    pub fn cts_chg(&self) -> CTS_CHG_R {
119        CTS_CHG_R::new(((self.bits >> 6) & 1) != 0)
120    }
121    #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."]
122    #[inline(always)]
123    pub fn brk_det(&self) -> BRK_DET_R {
124        BRK_DET_R::new(((self.bits >> 7) & 1) != 0)
125    }
126    #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."]
127    #[inline(always)]
128    pub fn rxfifo_tout(&self) -> RXFIFO_TOUT_R {
129        RXFIFO_TOUT_R::new(((self.bits >> 8) & 1) != 0)
130    }
131    #[doc = "Bit 9 - This interrupt raw bit turns to high level when receiver recevies Xon char when uart_sw_flow_con_en is set to 1."]
132    #[inline(always)]
133    pub fn sw_xon(&self) -> SW_XON_R {
134        SW_XON_R::new(((self.bits >> 9) & 1) != 0)
135    }
136    #[doc = "Bit 10 - This interrupt raw bit turns to high level when receiver receives Xoff char when uart_sw_flow_con_en is set to 1."]
137    #[inline(always)]
138    pub fn sw_xoff(&self) -> SW_XOFF_R {
139        SW_XOFF_R::new(((self.bits >> 10) & 1) != 0)
140    }
141    #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."]
142    #[inline(always)]
143    pub fn glitch_det(&self) -> GLITCH_DET_R {
144        GLITCH_DET_R::new(((self.bits >> 11) & 1) != 0)
145    }
146    #[doc = "Bit 12 - This interrupt raw bit turns to high level when transmitter completes sending NULL characters, after all data in Tx-FIFO are sent."]
147    #[inline(always)]
148    pub fn tx_brk_done(&self) -> TX_BRK_DONE_R {
149        TX_BRK_DONE_R::new(((self.bits >> 12) & 1) != 0)
150    }
151    #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."]
152    #[inline(always)]
153    pub fn tx_brk_idle_done(&self) -> TX_BRK_IDLE_DONE_R {
154        TX_BRK_IDLE_DONE_R::new(((self.bits >> 13) & 1) != 0)
155    }
156    #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."]
157    #[inline(always)]
158    pub fn tx_done(&self) -> TX_DONE_R {
159        TX_DONE_R::new(((self.bits >> 14) & 1) != 0)
160    }
161    #[doc = "Bit 15 - This interrupt raw bit turns to high level when receiver detects a parity error from the echo of transmitter in rs485 mode."]
162    #[inline(always)]
163    pub fn rs485_parity_err(&self) -> RS485_PARITY_ERR_R {
164        RS485_PARITY_ERR_R::new(((self.bits >> 15) & 1) != 0)
165    }
166    #[doc = "Bit 16 - This interrupt raw bit turns to high level when receiver detects a data frame error from the echo of transmitter in rs485 mode."]
167    #[inline(always)]
168    pub fn rs485_frm_err(&self) -> RS485_FRM_ERR_R {
169        RS485_FRM_ERR_R::new(((self.bits >> 16) & 1) != 0)
170    }
171    #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."]
172    #[inline(always)]
173    pub fn rs485_clash(&self) -> RS485_CLASH_R {
174        RS485_CLASH_R::new(((self.bits >> 17) & 1) != 0)
175    }
176    #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."]
177    #[inline(always)]
178    pub fn at_cmd_char_det(&self) -> AT_CMD_CHAR_DET_R {
179        AT_CMD_CHAR_DET_R::new(((self.bits >> 18) & 1) != 0)
180    }
181    #[doc = "Bit 19 - This interrupt raw bit turns to high level when input rxd edge changes more times than what reg_active_threshold specifies in light sleeping mode."]
182    #[inline(always)]
183    pub fn wakeup(&self) -> WAKEUP_R {
184        WAKEUP_R::new(((self.bits >> 19) & 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("INT_RAW")
191            .field("rxfifo_full", &self.rxfifo_full())
192            .field("txfifo_empty", &self.txfifo_empty())
193            .field("parity_err", &self.parity_err())
194            .field("frm_err", &self.frm_err())
195            .field("rxfifo_ovf", &self.rxfifo_ovf())
196            .field("dsr_chg", &self.dsr_chg())
197            .field("cts_chg", &self.cts_chg())
198            .field("brk_det", &self.brk_det())
199            .field("rxfifo_tout", &self.rxfifo_tout())
200            .field("sw_xon", &self.sw_xon())
201            .field("sw_xoff", &self.sw_xoff())
202            .field("glitch_det", &self.glitch_det())
203            .field("tx_brk_done", &self.tx_brk_done())
204            .field("tx_brk_idle_done", &self.tx_brk_idle_done())
205            .field("tx_done", &self.tx_done())
206            .field("rs485_parity_err", &self.rs485_parity_err())
207            .field("rs485_frm_err", &self.rs485_frm_err())
208            .field("rs485_clash", &self.rs485_clash())
209            .field("at_cmd_char_det", &self.at_cmd_char_det())
210            .field("wakeup", &self.wakeup())
211            .finish()
212    }
213}
214impl W {
215    #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."]
216    #[inline(always)]
217    pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W<INT_RAW_SPEC> {
218        RXFIFO_FULL_W::new(self, 0)
219    }
220    #[doc = "Bit 1 - This interrupt raw bit turns to high level when the amount of data in Tx-FIFO is less than what txfifo_empty_thrhd specifies ."]
221    #[inline(always)]
222    pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W<INT_RAW_SPEC> {
223        TXFIFO_EMPTY_W::new(self, 1)
224    }
225    #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."]
226    #[inline(always)]
227    pub fn parity_err(&mut self) -> PARITY_ERR_W<INT_RAW_SPEC> {
228        PARITY_ERR_W::new(self, 2)
229    }
230    #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."]
231    #[inline(always)]
232    pub fn frm_err(&mut self) -> FRM_ERR_W<INT_RAW_SPEC> {
233        FRM_ERR_W::new(self, 3)
234    }
235    #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."]
236    #[inline(always)]
237    pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W<INT_RAW_SPEC> {
238        RXFIFO_OVF_W::new(self, 4)
239    }
240    #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."]
241    #[inline(always)]
242    pub fn dsr_chg(&mut self) -> DSR_CHG_W<INT_RAW_SPEC> {
243        DSR_CHG_W::new(self, 5)
244    }
245    #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."]
246    #[inline(always)]
247    pub fn cts_chg(&mut self) -> CTS_CHG_W<INT_RAW_SPEC> {
248        CTS_CHG_W::new(self, 6)
249    }
250    #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."]
251    #[inline(always)]
252    pub fn brk_det(&mut self) -> BRK_DET_W<INT_RAW_SPEC> {
253        BRK_DET_W::new(self, 7)
254    }
255    #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."]
256    #[inline(always)]
257    pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W<INT_RAW_SPEC> {
258        RXFIFO_TOUT_W::new(self, 8)
259    }
260    #[doc = "Bit 9 - This interrupt raw bit turns to high level when receiver recevies Xon char when uart_sw_flow_con_en is set to 1."]
261    #[inline(always)]
262    pub fn sw_xon(&mut self) -> SW_XON_W<INT_RAW_SPEC> {
263        SW_XON_W::new(self, 9)
264    }
265    #[doc = "Bit 10 - This interrupt raw bit turns to high level when receiver receives Xoff char when uart_sw_flow_con_en is set to 1."]
266    #[inline(always)]
267    pub fn sw_xoff(&mut self) -> SW_XOFF_W<INT_RAW_SPEC> {
268        SW_XOFF_W::new(self, 10)
269    }
270    #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."]
271    #[inline(always)]
272    pub fn glitch_det(&mut self) -> GLITCH_DET_W<INT_RAW_SPEC> {
273        GLITCH_DET_W::new(self, 11)
274    }
275    #[doc = "Bit 12 - This interrupt raw bit turns to high level when transmitter completes sending NULL characters, after all data in Tx-FIFO are sent."]
276    #[inline(always)]
277    pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W<INT_RAW_SPEC> {
278        TX_BRK_DONE_W::new(self, 12)
279    }
280    #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."]
281    #[inline(always)]
282    pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W<INT_RAW_SPEC> {
283        TX_BRK_IDLE_DONE_W::new(self, 13)
284    }
285    #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."]
286    #[inline(always)]
287    pub fn tx_done(&mut self) -> TX_DONE_W<INT_RAW_SPEC> {
288        TX_DONE_W::new(self, 14)
289    }
290    #[doc = "Bit 15 - This interrupt raw bit turns to high level when receiver detects a parity error from the echo of transmitter in rs485 mode."]
291    #[inline(always)]
292    pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W<INT_RAW_SPEC> {
293        RS485_PARITY_ERR_W::new(self, 15)
294    }
295    #[doc = "Bit 16 - This interrupt raw bit turns to high level when receiver detects a data frame error from the echo of transmitter in rs485 mode."]
296    #[inline(always)]
297    pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W<INT_RAW_SPEC> {
298        RS485_FRM_ERR_W::new(self, 16)
299    }
300    #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."]
301    #[inline(always)]
302    pub fn rs485_clash(&mut self) -> RS485_CLASH_W<INT_RAW_SPEC> {
303        RS485_CLASH_W::new(self, 17)
304    }
305    #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."]
306    #[inline(always)]
307    pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W<INT_RAW_SPEC> {
308        AT_CMD_CHAR_DET_W::new(self, 18)
309    }
310    #[doc = "Bit 19 - This interrupt raw bit turns to high level when input rxd edge changes more times than what reg_active_threshold specifies in light sleeping mode."]
311    #[inline(always)]
312    pub fn wakeup(&mut self) -> WAKEUP_W<INT_RAW_SPEC> {
313        WAKEUP_W::new(self, 19)
314    }
315}
316#[doc = "Raw interrupt status\n\nYou can [`read`](crate::Reg::read) this register and get [`int_raw::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`int_raw::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
317pub struct INT_RAW_SPEC;
318impl crate::RegisterSpec for INT_RAW_SPEC {
319    type Ux = u32;
320}
321#[doc = "`read()` method returns [`int_raw::R`](R) reader structure"]
322impl crate::Readable for INT_RAW_SPEC {}
323#[doc = "`write(|w| ..)` method takes [`int_raw::W`](W) writer structure"]
324impl crate::Writable for INT_RAW_SPEC {
325    type Safety = crate::Unsafe;
326    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
327    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
328}
329#[doc = "`reset()` method sets INT_RAW to value 0x02"]
330impl crate::Resettable for INT_RAW_SPEC {
331    const RESET_VALUE: u32 = 0x02;
332}